From 163ff95e8dd49c4b51f8bca4d35617ae1a1fdb24 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Mon, 15 Dec 2008 00:12:11 -0500 Subject: opkg: fix some initialisation and double free issues in libbb git-svn-id: http://opkg.googlecode.com/svn/trunk@85 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- (limited to 'libbb/unarchive.c') diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 2457824..5fc5725 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -715,7 +715,7 @@ char *deb_extract(const char *package_filename, FILE *out_stream, char *output_buffer = NULL; char *ared_file = NULL; char ar_magic[8]; - int gunzip_pid; + int gunzip_pid = 0; if (filename != NULL) { file_list = xmalloc(sizeof(char *) * 2); -- cgit v0.9.1