From 9b61434f7e350d0fd5530e2b226608ef85113059 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 13 Apr 2009 12:40:33 +0200 Subject: [PATCH] wibox: fix memory leak with cursor Signed-off-by: Julien Danjou --- wibox.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wibox.c b/wibox.c index 97ac3e00..2d0e3308 100644 --- a/wibox.c +++ b/wibox.c @@ -38,6 +38,7 @@ static int luaA_wibox_gc(lua_State *L) { wibox_t *wibox = luaL_checkudata(L, 1, "wibox"); + p_delete(&wibox->cursor); simplewindow_wipe(&wibox->sw); button_array_wipe(&wibox->buttons); image_unref(L, wibox->bg_image);