projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22fd66f
)
[INFLIB]
author
Pierre Schweitzer
<pierre@reactos.org>
Sun, 17 May 2015 09:41:54 +0000
(09:41 +0000)
committer
Pierre Schweitzer
<pierre@reactos.org>
Sun, 17 May 2015 09:41:54 +0000
(09:41 +0000)
Don't free memory twice on failure
svn path=/trunk/; revision=67802
reactos/lib/inflib/infrosput.c
patch
|
blob
|
history
diff --git
a/reactos/lib/inflib/infrosput.c
b/reactos/lib/inflib/infrosput.c
index
f5d3df9
..
87c5d86
100644
(file)
--- a/
reactos/lib/inflib/infrosput.c
+++ b/
reactos/lib/inflib/infrosput.c
@@
-101,7
+101,6
@@
InfWriteFile(HINF InfHandle,
if (!INF_SUCCESS(Status))
{
DPRINT1("NtWriteFile() failed (Status %lx)\n", Status);
- FREE(Buffer);
return(Status);
}