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:
parent
be4c5f5022
commit
f4640b0492
|
@ -122,6 +122,8 @@ static VOID SYSLINK_FreeDocItem (PDOC_ITEM DocItem)
|
||||||
Free(DocItem->u.Link.szUrl);
|
Free(DocItem->u.Link.szUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Free(DocItem->Blocks);
|
||||||
|
|
||||||
/* we don't free Text because it's just a pointer to a character in the
|
/* we don't free Text because it's just a pointer to a character in the
|
||||||
entire window text string */
|
entire window text string */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue