From 7019724ab5c818e18fb5ee61b6b14487c47da3ec Mon Sep 17 00:00:00 2001 From: dacctal Date: Fri, 17 Jul 2026 00:18:01 +0000 Subject: more features but memory leak --- src/lua_vars.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/lua_vars.c') diff --git a/src/lua_vars.c b/src/lua_vars.c index ddb4c5a..7420ae0 100644 --- a/src/lua_vars.c +++ b/src/lua_vars.c @@ -58,11 +58,9 @@ void init_install_directories(void) { void init_prefix_directory(void) { lua_getglobal(L, "prefix"); if (!lua_isstring(L, -1)) { -// printf(PRINT_ERROR "init.lua: 'prefix' is not a string.\n"); lua_isnt_type("prefix", "string."); return; } inst_dirs.prefix = mstr(lua_tostring(L, -1)); -// snprintf(prefix_dir, MAX_PATH_LEN, "%s", lua_tostring(L, -1)); lua_pop(L, 1); } -- cgit v1.2.3