mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
wibox: fix memory leak with cursor
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
a08794d7cd
commit
9b61434f7e
1 changed files with 1 additions and 0 deletions
1
wibox.c
1
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);
|
||||
|
|
Loading…
Reference in a new issue