From 46b5b8779dbb8e5e03622fc34dbc943a4400c436 Mon Sep 17 00:00:00 2001 From: "graham.gower" Date: Sat, 19 Dec 2009 00:05:18 +0000 Subject: [PATCH] Fix double free(). Found by Kosmaty (Issue 33). Thanks. git-svn-id: http://opkg.googlecode.com/svn/trunk@503 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- libbb/unarchive.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 62ca267..bf57a04 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -746,7 +746,6 @@ deb_extract(const char *package_filename, FILE *out_stream, gz_err = gz_close(gunzip_pid); if (gz_err) *err = -1; - free_header_tar(tar_header); break; } seek_sub_file(unzipped_opkg_stream, tar_header->size); -- 2.25.1