mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-04 21:08:05 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue