From 65b24c65dbcd56dda5c47f3c13c7c3e962b2ed93 Mon Sep 17 00:00:00 2001 From: Jakub Karolczyk Date: Fri, 24 Mar 2023 14:32:50 +0000 Subject: [PATCH] [mod_pgsql] Coverity CID 1468401 (Resource leak) --- src/mod/databases/mod_pgsql/mod_pgsql.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/databases/mod_pgsql/mod_pgsql.c b/src/mod/databases/mod_pgsql/mod_pgsql.c index 575252223b..0308f1f1fd 100644 --- a/src/mod/databases/mod_pgsql/mod_pgsql.c +++ b/src/mod/databases/mod_pgsql/mod_pgsql.c @@ -629,6 +629,8 @@ done: error: + pgsql_free_result(&result); + return SWITCH_STATUS_FALSE; }