From 2d2b064b948f21d797c80d3541f2ec283a95af5c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 13 May 2015 14:41:06 +0100 Subject: [PATCH] One more memory leak in lua_redis. --- src/lua/lua_redis.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lua/lua_redis.c b/src/lua/lua_redis.c index b224c3452..8111ccf89 100644 --- a/src/lua/lua_redis.c +++ b/src/lua/lua_redis.c @@ -350,6 +350,7 @@ lua_redis_make_request (lua_State *L) ud->cbref = cbref; lua_pushstring (L, "args"); lua_redis_parse_args (L, -1, cmd, ud); + ret = TRUE; } else { if (cbref != -1) { @@ -383,6 +384,8 @@ lua_redis_make_request (lua_State *L) else { lua_redis_parse_args (L, 0, cmd, ud); } + + ret = TRUE; } else { msg_err ("incorrect function invocation"); -- 2.39.5