Sven Baars : sechost: Free the right variable (Coverity).
Alexandre Julliard
julliard at winehq.org
Mon Aug 3 16:35:35 CDT 2020
Module: wine
Branch: master
Commit: 3dbb87a3d003398a28a5febd613612ba1ad3b606
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3dbb87a3d003398a28a5febd613612ba1ad3b606
Author: Sven Baars <sbaars at codeweavers.com>
Date: Sun Aug 2 19:20:24 2020 +0200
sechost: Free the right variable (Coverity).
Signed-off-by: Sven Baars <sbaars at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/sechost/service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/sechost/service.c b/dlls/sechost/service.c
index 68d2b9e78e..5beff41a16 100644
--- a/dlls/sechost/service.c
+++ b/dlls/sechost/service.c
@@ -1031,7 +1031,7 @@ BOOL WINAPI DECLSPEC_HOTPATCH StartServiceA( SC_HANDLE service, DWORD argc, cons
for (i = 0; i < argc; i++)
heap_free( argvW[i] );
- heap_free( argv );
+ heap_free( argvW );
return r;
}
More information about the wine-cvs
mailing list