From: Michihiro NAKAJIMA Date: Sun, 18 Oct 2009 04:47:49 +0000 (-0400) Subject: Fix memory leak. X-Git-Tag: v2.8.0~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bea6a8dadbcc6f799d6df70c71cffd181afded32;p=thirdparty%2Flibarchive.git Fix memory leak. SVN-Revision: 1540 --- diff --git a/libarchive/archive_read_support_format_iso9660.c b/libarchive/archive_read_support_format_iso9660.c index 9da095de2..47ff13488 100644 --- a/libarchive/archive_read_support_format_iso9660.c +++ b/libarchive/archive_read_support_format_iso9660.c @@ -2386,6 +2386,7 @@ next_cache_entry(struct iso9660 *iso9660) * happen. */ file->next = NULL; + file->refcount++; *empty_files.last = file; empty_files.last = &(file->next); } else {