Nikolay Sivov : shell32: Fix a leak of memory pointing to XDG_PARSED_FILE (Coverity).
Alexandre Julliard
julliard at winehq.org
Thu Apr 10 12:21:28 CDT 2014
Module: wine
Branch: master
Commit: 3236c06c2028e41b80c7765f145a0dd92c872f90
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3236c06c2028e41b80c7765f145a0dd92c872f90
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Apr 10 09:22:28 2014 +0400
shell32: Fix a leak of memory pointing to XDG_PARSED_FILE (Coverity).
---
dlls/shell32/xdg.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/shell32/xdg.c b/dlls/shell32/xdg.c
index 6eb4163..70811f6 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);
}
#define LINE_GROUP 1
More information about the wine-cvs
mailing list