From e674ffbe427c8794674e21fe4470c71227857dfb Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sun, 17 Feb 2019 16:52:46 +0100 Subject: [PATCH] msi: Do not leak rootkey Signed-off-by: Mark Jansen --- dlls/msi/source.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/msi/source.c b/dlls/msi/source.c index 904589e947..e2cf7fc8ad 100644 --- a/dlls/msi/source.c +++ b/dlls/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; } -- 2.18.0.windows.1