[Extractor-gtk-cvslog] SF.net SVN: extractor-gtk:[95] trunk/extractor/extractor.c
Extract files from unusual archive formats
Brought to you by:
someone-guy
|
From: <som...@us...> - 2008-08-22 16:08:02
|
Revision: 95
http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=95&view=rev
Author: someone-guy
Date: 2008-08-22 16:07:59 +0000 (Fri, 22 Aug 2008)
Log Message:
-----------
Change open_file to make it also work for freeing data.
Modified Paths:
--------------
trunk/extractor/extractor.c
Modified: trunk/extractor/extractor.c
===================================================================
--- trunk/extractor/extractor.c 2008-08-22 16:07:38 UTC (rev 94)
+++ trunk/extractor/extractor.c 2008-08-22 16:07:59 UTC (rev 95)
@@ -49,6 +49,8 @@
cur_fmt = NULL;
if (input_file)
fclose(input_file);
+ if (!fname)
+ return NULL;
// open new file
input_file = fopen(fname, "rb");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|