Marcus Meissner : advapi32: Removed a double free issue on loop termination (Coverity).
Module: wine Branch: master Commit: 748dd6fed378adb4ebe00ce0ca14d036d72380b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=748dd6fed378adb4ebe00ce0ca... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Wed Oct 10 10:00:17 2012 +0200 advapi32: Removed a double free issue on loop termination (Coverity). --- dlls/advapi32/tests/crypt.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/dlls/advapi32/tests/crypt.c b/dlls/advapi32/tests/crypt.c index 7abf90b..4820d27 100644 --- a/dlls/advapi32/tests/crypt.c +++ b/dlls/advapi32/tests/crypt.c @@ -624,9 +624,6 @@ static BOOL FindProvTypesRegVals(DWORD *pdwIndex, DWORD *pdwProvType, LPSTR *psz (*pdwIndex)++; } - - if (!ret) - LocalFree(*pszTypeName); RegCloseKey(hSubKey); LocalFree(szName);
participants (1)
-
Alexandre Julliard