[PATCH] winecfg: remove incorrect HeapFree (Coverity)
Marcus Meissner
marcus at jet.franken.de
Mon Sep 10 02:38:32 CDT 2012
name is a stack variable...
---
programs/winecfg/winecfg.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/programs/winecfg/winecfg.c b/programs/winecfg/winecfg.c
index fa18e9b..ea116e8 100644
--- a/programs/winecfg/winecfg.c
+++ b/programs/winecfg/winecfg.c
@@ -503,7 +503,6 @@ static WCHAR **enumerate_valuesW(HKEY root, WCHAR *path)
if (removed) /* this value was deleted by the user, so don't include it */
{
- HeapFree(GetProcessHeap(), 0, name);
i++;
continue;
}
--
1.7.3.4
More information about the wine-patches
mailing list