diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-13 14:41:06 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-13 14:41:06 +0100 |
commit | 2d2b064b948f21d797c80d3541f2ec283a95af5c (patch) | |
tree | 15d4e765c60f533698a366bdd5778062d285924e /src | |
parent | dfedc38011cde78014be3da03abf82ed65f7d49a (diff) | |
download | rspamd-2d2b064b948f21d797c80d3541f2ec283a95af5c.tar.gz rspamd-2d2b064b948f21d797c80d3541f2ec283a95af5c.zip |
One more memory leak in lua_redis.
Diffstat (limited to 'src')
-rw-r--r-- | src/lua/lua_redis.c | 3 |
1 files changed, 3 insertions, 0 deletions
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"); |