From 84d62dc9993d746cbbf110c2b212dd8325b7e9be Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Thu, 19 Jan 2012 14:21:35 +0200 Subject: [PATCH] resizor: free the widget on destroy Plugs a memory leak. Signed-off-by: Pekka Paalanen --- clients/resizor.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/resizor.c b/clients/resizor.c index 8e611477..5eeb8ea2 100644 --- a/clients/resizor.c +++ b/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); }