comctl32/syslink: Fix a blocks leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sebastian Lackner 2016-05-20 08:04:21 +03:00 committed by Alexandre Julliard
parent be4c5f5022
commit f4640b0492
1 changed files with 2 additions and 0 deletions

View File

@ -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 */