This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch devs/dimmus/elua_fix_fix
in repository efl.

View the commit online.

commit 67dde68af798cb7e5f60769b585f01217372a2c2
Author: dimmus <dmitri.chudi...@gmail.com>
AuthorDate: Wed Dec 6 20:30:35 2023 +0500

    elua: move err label to ENABLE_LUA_OLD defined branch
---
 src/lib/elua/elua.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/elua/elua.c b/src/lib/elua/elua.c
index 6fa856372e..d1dbaff469 100644
--- a/src/lib/elua/elua.c
+++ b/src/lib/elua/elua.c
@@ -193,11 +193,13 @@ elua_state_new(const char *progname)
    lua_setfield(L, LUA_REGISTRYINDEX, "elua_ptr1");
    lua_setfield(L, LUA_REGISTRYINDEX, "elua_ptr2");
    return ret;
+#ifdef ENABLE_LUA_OLD
 err:
    lua_close(L);
    eina_stringshare_del(ret->progname);
    free(ret);
    return NULL;
+#endif
 }
 
 EAPI void

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to