From: Aki Tuomi Date: Wed, 29 Nov 2017 07:00:08 +0000 (+0200) Subject: auth: test-lua - fix memory leaks X-Git-Tag: 2.3.0.rc1~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df0eef65a5216358c836a928e6c1037cb8599d69;p=thirdparty%2Fdovecot%2Fcore.git auth: test-lua - fix memory leaks --- diff --git a/src/auth/test-lua.c b/src/auth/test-lua.c index a331162340..2cf33183a0 100644 --- a/src/auth/test-lua.c +++ b/src/auth/test-lua.c @@ -35,6 +35,9 @@ void test_db_lua(void) test_assert(auth_lua_call_passdb_lookup(script, req, &scheme, &pass, &error) == 1); } dlua_script_unref(&script); + i_free(req->passdb); + auth_request_unref(&req); + test_end(); } #endif