resizor: free the widget on destroy
Plugs a memory leak. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
e156fb681e
commit
84d62dc999
@ -235,6 +235,7 @@ resizor_destroy(struct resizor *resizor)
|
||||
if (resizor->frame_callback)
|
||||
wl_callback_destroy(resizor->frame_callback);
|
||||
|
||||
widget_destroy(resizor->widget);
|
||||
window_destroy(resizor->window);
|
||||
free(resizor);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user