Sebastian Lackner : comctl32/syslink: Fix a blocks leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Aug 22 07:32:37 CDT 2016
Module: wine
Branch: stable
Commit: 6784577606cd284f4e366cc91640321fa881bee4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6784577606cd284f4e366cc91640321fa881bee4
Author: Sebastian Lackner <sebastian at fds-team.de>
Date: Fri May 20 08:04:21 2016 +0300
comctl32/syslink: Fix a blocks leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit f4640b04925e0044f6e32bb7d48c85117052a599)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
dlls/comctl32/syslink.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c
index 233169c..5e0f791 100644
--- a/dlls/comctl32/syslink.c
+++ b/dlls/comctl32/syslink.c
@@ -122,6 +122,8 @@ static VOID SYSLINK_FreeDocItem (PDOC_ITEM DocItem)
Free(DocItem->u.Link.szUrl);
}
+ Free(DocItem->Blocks);
+
/* we don't free Text because it's just a pointer to a character in the
entire window text string */
More information about the wine-cvs
mailing list