diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-25 21:02:27 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-25 21:02:27 -0800 |
commit | 61ea63adca34b34ec8f33253f4895f80e16cb967 (patch) | |
tree | 973ec9f2dbae086d5f065eadb0164160d69714bf /src | |
parent | f5221ba6515cc4f97ae680bdb8250ed37643e653 (diff) | |
download | teliva-61ea63adca34b34ec8f33253f4895f80e16cb967.tar.gz |
more stack hygiene
Diffstat (limited to 'src')
-rw-r--r-- | src/lua.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c index 6a12fbf..04de892 100644 --- a/src/lua.c +++ b/src/lua.c @@ -339,7 +339,9 @@ static int handle_image (lua_State *L, char **argv, int n) { status = dostring(L, value, key); if (status != 0) return report(L, status); } + lua_pop(L, 1); } + lua_pop(L, 1); /* call main() */ lua_getglobal(L, "main"); status = docall(L, 0, 1); |