projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d766391
)
[MSI] Do not leak rootkey
author
Mark Jansen
<mark.jansen@reactos.org>
Sun, 17 Feb 2019 19:46:24 +0000
(20:46 +0100)
committer
Mark Jansen
<mark.jansen@reactos.org>
Mon, 18 Feb 2019 22:00:54 +0000
(23:00 +0100)
dll/win32/msi/source.c
patch
|
blob
|
history
diff --git
a/dll/win32/msi/source.c
b/dll/win32/msi/source.c
index
68bf9d0
..
7f55775
100644
(file)
--- a/
dll/win32/msi/source.c
+++ b/
dll/win32/msi/source.c
@@
-98,6
+98,7
@@
static UINT OpenSourceKey(LPCWSTR szProduct, HKEY* key, DWORD dwOptions,
if (rc != ERROR_SUCCESS)
rc = ERROR_BAD_CONFIGURATION;
}
+ RegCloseKey(rootkey);
return rc;
}