From 045d4c823b49f5a4d2fd6d49f7f6d3b097860399 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 13 Apr 2009 12:43:00 +0200 Subject: [PATCH] textbox: unref image on destruction Signed-off-by: Julien Danjou --- widgets/textbox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/widgets/textbox.c b/widgets/textbox.c index 1d246479..6a284dfc 100644 --- a/widgets/textbox.c +++ b/widgets/textbox.c @@ -132,6 +132,7 @@ static void textbox_destructor(widget_t *w) { textbox_data_t *d = w->data; + image_unref(globalconf.L, d->bg_image); draw_text_context_wipe(&d->data); p_delete(&d); }