mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 20:44:56 +00:00
clean the stack when llua_update_window_table is called with a window table not yet populated
This commit is contained in:
parent
4d37d021e1
commit
94cd289aec
@ -467,6 +467,7 @@ void llua_update_window_table(int text_start_x, int text_start_y, int text_width
|
|||||||
lua_getglobal(lua_L, "conky_window");
|
lua_getglobal(lua_L, "conky_window");
|
||||||
if (lua_isnil(lua_L, -1)) {
|
if (lua_isnil(lua_L, -1)) {
|
||||||
/* window table isn't populated yet */
|
/* window table isn't populated yet */
|
||||||
|
lua_pop(lua_L, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user