GUI: free ViewPort instance on ViewDispatcher free. (#384)
This commit is contained in:
parent
b85cc7f788
commit
5866be8455
@ -30,6 +30,8 @@ void view_dispatcher_free(ViewDispatcher* view_dispatcher) {
|
|||||||
ViewDict_next(it);
|
ViewDict_next(it);
|
||||||
}
|
}
|
||||||
ViewDict_clear(view_dispatcher->views);
|
ViewDict_clear(view_dispatcher->views);
|
||||||
|
// Free ViewPort
|
||||||
|
view_port_free(view_dispatcher->view_port);
|
||||||
// Free dispatcher
|
// Free dispatcher
|
||||||
free(view_dispatcher);
|
free(view_dispatcher);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user