From 46b5b8779dbb8e5e03622fc34dbc943a4400c436 Mon Sep 17 00:00:00 2001 From: graham.gower Date: Fri, 18 Dec 2009 19:05:18 -0500 Subject: Fix double free(). Found by Kosmaty (Issue 33). Thanks. git-svn-id: http://opkg.googlecode.com/svn/trunk@503 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libbb') 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); -- cgit v0.9.1