summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-18 19:05:18 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-12-18 19:05:18 (EST)
commit46b5b8779dbb8e5e03622fc34dbc943a4400c436 (patch)
tree300adfdaf432718da895a4de8f2a227523f03020 /libbb
parentf02c1f5c3112d9e17dfde26aec021a07fb4f08df (diff)
Fix double free(). Found by Kosmaty (Issue 33). Thanks.
git-svn-id: http://opkg.googlecode.com/svn/trunk@503 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c1
1 files changed, 0 insertions, 1 deletions
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);