forked from RepoMirrors/bemenu
Merge branch 'dev/code' into develop
This commit is contained in:
commit
ae23d48579
@ -36,6 +36,10 @@ bmMenu* bmMenuNew(bmDrawMode drawMode)
|
|||||||
void bmMenuFree(bmMenu *menu)
|
void bmMenuFree(bmMenu *menu)
|
||||||
{
|
{
|
||||||
assert(menu != NULL);
|
assert(menu != NULL);
|
||||||
|
|
||||||
|
if (menu->renderApi.free)
|
||||||
|
menu->renderApi.free();
|
||||||
|
|
||||||
free(menu);
|
free(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user