Marcus Meissner : winecfg: Remove incorrect HeapFree (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Sep 10 15:22:10 CDT 2012


Module: wine
Branch: master
Commit: 73d00515fe8354b2549feb1ee157c82cc3197d6a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=73d00515fe8354b2549feb1ee157c82cc3197d6a

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Mon Sep 10 09:38:32 2012 +0200

winecfg: Remove incorrect HeapFree (Coverity).

---

 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;
             }




More information about the wine-cvs mailing list