projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SETUPAPI]
[reactos.git]
/
reactos
/
dll
/
win32
/
setupapi
/
devclass.c
diff --git
a/reactos/dll/win32/setupapi/devclass.c
b/reactos/dll/win32/setupapi/devclass.c
index
a8a9b66
..
1e2a734
100644
(file)
--- a/
reactos/dll/win32/setupapi/devclass.c
+++ b/
reactos/dll/win32/setupapi/devclass.c
@@
-552,6
+552,9
@@
cleanup:
if (hKey != INVALID_HANDLE_VALUE)
RegCloseKey(hKey);
+ if (Buffer && !ret)
+ MyFree(Buffer);
+
return ret;
}