Author: pschweitzer
Date: Sun May 17 09:41:54 2015
New Revision: 67802
URL:
http://svn.reactos.org/svn/reactos?rev=67802&view=rev
Log:
[INFLIB]
Don't free memory twice on failure
Modified:
trunk/reactos/lib/inflib/infrosput.c
Modified: trunk/reactos/lib/inflib/infrosput.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/inflib/infrosput.c?rev…
==============================================================================
--- trunk/reactos/lib/inflib/infrosput.c [iso-8859-1] (original)
+++ trunk/reactos/lib/inflib/infrosput.c [iso-8859-1] Sun May 17 09:41:54 2015
@@ -101,7 +101,6 @@
if (!INF_SUCCESS(Status))
{
DPRINT1("NtWriteFile() failed (Status %lx)\n", Status);
- FREE(Buffer);
return(Status);
}