[PATCH] crypt32: free the encoded msg (Coverity)
Marcus Meissner
meissner at suse.de
Tue Jan 8 19:42:15 CST 2013
CID 713357
---
dlls/crypt32/msg.c | 1 +
1 Datei geändert, 1 Zeile hinzugefügt(+)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index 3e00a89..25204ea 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -1450,6 +1450,7 @@ static HCRYPTMSG CSignedEncodeMsg_Open(DWORD dwFlags,
if (!ret)
{
CSignedEncodeMsg_Close(msg);
+ CryptMemFree(msg);
msg = NULL;
}
}
--
1.7.10.4
More information about the wine-patches
mailing list