summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:19:00 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-15 00:19:00 (EST)
commit046cea8149c35b8d0dca6246c284f1d3c004410d (patch)
treee986aabb3e4eb8b791821baf135213f7b25492ba /libbb
parentf7eccd4bb54039f94312a56b40599d7cb446951e (diff)
opkg: (leak fixing, day 3) fixed final memory leaks fixed reported from
running libopkg_test git-svn-id: http://opkg.googlecode.com/svn/trunk@116 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unarchive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c
index 5fc5725..4e3a2ed 100644
--- a/libbb/unarchive.c
+++ b/libbb/unarchive.c
@@ -755,6 +755,8 @@ char *deb_extract(const char *package_filename, FILE *out_stream,
output_buffer = unarchive(uncompressed_stream, out_stream, get_header_tar, free_header_tar, extract_function, prefix, file_list);
}
seek_sub_file(deb_stream, ar_header->size);
+ free (ar_header->name);
+ free (ar_header);
}
gz_close(gunzip_pid);
fclose(deb_stream);