Module: wine Branch: master Commit: f4640b04925e0044f6e32bb7d48c85117052a599 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4640b04925e0044f6e32bb7d4...
Author: Sebastian Lackner sebastian@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@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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 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 */