summaryrefslogtreecommitdiff
path: root/cel
diff options
context:
space:
mode:
Diffstat (limited to 'cel')
-rw-r--r--cel/cel_pgsql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cel/cel_pgsql.c b/cel/cel_pgsql.c
index f7676f88e..5885a1d32 100644
--- a/cel/cel_pgsql.c
+++ b/cel/cel_pgsql.c
@@ -332,6 +332,7 @@ static void pgsql_log(const struct ast_event *event, void *userdata)
PQclear(result);
goto ast_log_cleanup;
}
+ PQclear(result);
ast_log_cleanup:
ast_free(sql);