From: graham.gower Date: Sat, 19 Dec 2009 00:05:18 +0000 (+0000) Subject: Fix double free(). Found by Kosmaty (Issue 33). Thanks. X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=46b5b8779dbb8e5e03622fc34dbc943a4400c436;p=oweals%2Fopkg-lede.git Fix double free(). Found by Kosmaty (Issue 33). Thanks. git-svn-id: http://opkg.googlecode.com/svn/trunk@503 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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);