Author: gschneider
Date: Tue Aug 11 16:37:52 2009
New Revision: 42618
URL:
http://svn.reactos.org/svn/reactos?rev=42618&view=rev
Log:
Free memory on error
Modified:
trunk/reactos/lib/sdk/crt/stdio/file.c
Modified: trunk/reactos/lib/sdk/crt/stdio/file.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/file.c?r…
==============================================================================
--- trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/stdio/file.c [iso-8859-1] Tue Aug 11 16:37:52 2009
@@ -1489,7 +1489,7 @@
free(patha);
return retval;
}
-
+ free(patha);
_dosmaperr(GetLastError());
return -1;
}