[PATCH 1/2] comctl32/syslink: Fix a blocks leak (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Fri May 20 00:04:21 CDT 2016
From: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
For https://bugs.winehq.org/show_bug.cgi?id=36556
dlls/comctl32/syslink.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c
index 7e0b49b..f7655b6 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 */
--
2.8.1
More information about the wine-patches
mailing list