comctl32: Don't leak button text.
This commit is contained in:
parent
01cd45cce1
commit
199f51ff78
|
@ -4088,6 +4088,7 @@ TOOLBAR_DeleteAllButtons(TOOLBAR_INFO *infoPtr)
|
||||||
|
|
||||||
for (i = 0; i < infoPtr->nNumButtons; i++)
|
for (i = 0; i < infoPtr->nNumButtons; i++)
|
||||||
{
|
{
|
||||||
|
free_string( infoPtr->buttons + i );
|
||||||
TOOLBAR_TooltipDelTool(infoPtr, &infoPtr->buttons[i]);
|
TOOLBAR_TooltipDelTool(infoPtr, &infoPtr->buttons[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue