shell32: Fix memory leak.

Vincent Povirk madewokherd at gmail.com
Wed May 21 11:08:00 CDT 2014


For bug 36432.
-------------- next part --------------
From fadb9bf90301aae661083b1796e13f6033200938 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Wed, 21 May 2014 11:02:14 -0500
Subject: [PATCH] shell32: Fix memory leak.

---
 dlls/shell32/xdg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/shell32/xdg.c b/dlls/shell32/xdg.c
index 70811f6..1504f1f 100644
--- a/dlls/shell32/xdg.c
+++ b/dlls/shell32/xdg.c
@@ -572,6 +572,7 @@ void XDG_FreeParsedFile(XDG_PARSED_FILE *parsed)
         SHFree(group);
         group = next;
     }
+    SHFree(parsed->contents);
     SHFree(parsed);
 }
 
-- 
1.8.3.2



More information about the wine-patches mailing list