crypt32: Free the encoded msg (Coverity).

This commit is contained in:
Marcus Meissner 2013-01-09 02:42:15 +01:00 committed by Alexandre Julliard
parent 0546c551f1
commit ee1f416409
1 changed files with 1 additions and 0 deletions

View File

@ -1450,6 +1450,7 @@ static HCRYPTMSG CSignedEncodeMsg_Open(DWORD dwFlags,
if (!ret)
{
CSignedEncodeMsg_Close(msg);
CryptMemFree(msg);
msg = NULL;
}
}