mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-05 21:07:52 +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");
|
||||
if (lua_isnil(lua_L, -1)) {
|
||||
/* window table isn't populated yet */
|
||||
lua_pop(lua_L, 1);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user