Free filtered items.

This commit is contained in:
Jari Vetoniemi 2014-04-10 01:25:37 +03:00
parent 3c700a80d1
commit 944e36b21d

View File

@ -98,6 +98,9 @@ void bmMenuFree(bmMenu *menu)
if (menu->title)
free(menu->title);
if (menu->filteredItems)
free(menu->filteredItems);
bmMenuFreeItems(menu);
free(menu);
}