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
/
devinst.c
diff --git
a/reactos/dll/win32/setupapi/devinst.c
b/reactos/dll/win32/setupapi/devinst.c
index
93934e7
..
d4160b2
100644
(file)
--- a/
reactos/dll/win32/setupapi/devinst.c
+++ b/
reactos/dll/win32/setupapi/devinst.c
@@
-5777,6
+5777,8
@@
cleanup:
RegCloseKey(hEnumKey);
if (hKey != NULL && hKey != key)
RegCloseKey(hKey);
+ if (DriverKey)
+ HeapFree(GetProcessHeap(), 0, DriverKey);
return key;
}