Marcus Meissner : crypt32: Free the encoded msg (Coverity).
Alexandre Julliard
julliard at winehq.org
Thu Jan 10 13:36:13 CST 2013
Module: wine
Branch: master
Commit: ee1f4164096ece5203b6a8ed64b331decbb931f7
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee1f4164096ece5203b6a8ed64b331decbb931f7
Author: Marcus Meissner <meissner at suse.de>
Date: Wed Jan 9 02:42:15 2013 +0100
crypt32: Free the encoded msg (Coverity).
---
dlls/crypt32/msg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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;
}
}
More information about the wine-cvs
mailing list