[ros-diffs] [cwittich] 43740: -sync cabinet with wine 1.1.32
cwittich at svn.reactos.org
cwittich at svn.reactos.org
Sun Oct 25 14:45:16 CET 2009
Author: cwittich
Date: Sun Oct 25 14:45:15 2009
New Revision: 43740
URL: http://svn.reactos.org/svn/reactos?rev=43740&view=rev
Log:
-sync cabinet with wine 1.1.32
Modified:
trunk/reactos/dll/win32/cabinet/fdi.c
Modified: trunk/reactos/dll/win32/cabinet/fdi.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cabinet/fdi.c?rev=43740&r1=43739&r2=43740&view=diff
==============================================================================
--- trunk/reactos/dll/win32/cabinet/fdi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/cabinet/fdi.c [iso-8859-1] Sun Oct 25 14:45:15 2009
@@ -2279,9 +2279,10 @@
}
}
-static void free_decompression_mem(HFDI hfdi, struct fdi_folder *fol,
+static void free_decompression_mem(HFDI hfdi,
fdi_decomp_state *decomp_state, struct fdi_file *file)
{
+ struct fdi_folder *fol;
while (decomp_state) {
fdi_decomp_state *prev_fds;
@@ -2896,17 +2897,17 @@
}
free_decompression_temps(hfdi, fol, decomp_state);
- free_decompression_mem(hfdi, fol, decomp_state, file);
+ free_decompression_mem(hfdi, decomp_state, file);
return TRUE;
bail_and_fail: /* here we free ram before error returns */
- free_decompression_temps(hfdi, fol, decomp_state);
+ if (fol) free_decompression_temps(hfdi, fol, decomp_state);
if (filehf) PFDI_CLOSE(hfdi, filehf);
- free_decompression_mem(hfdi, fol, decomp_state, file);
+ free_decompression_mem(hfdi, decomp_state, file);
return FALSE;
}
More information about the Ros-diffs
mailing list