Commit 67845776 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Michael Stefaniuc

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

Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org> (cherry picked from commit f4640b04) Signed-off-by: 's avatarMichael Stefaniuc <mstefani@winehq.org>
parent fd8284f2
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment