Commit eb2c74d5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

mapi32: Don't leak memory on an error path (Smatch).

parent f4fb963e
......@@ -1025,7 +1025,7 @@ void load_mapi_providers(void)
/* Open the app's key */
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, appKey, 0, KEY_READ, &hkeyMail) != ERROR_SUCCESS)
return;
goto cleanUp;
/* Try to load the providers */
load_mapi_provider(hkeyMail, regkey_dllpath, &mapi_provider);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment