resizor: free the widget on destroy

Plugs a memory leak.

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
dev
Pekka Paalanen 13 years ago
parent e156fb681e
commit 84d62dc999
  1. 1
      clients/resizor.c

@ -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…
Cancel
Save