From 13707999f1c3d9b4ca67da1e428993a37de23b52 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 15 Sep 2019 11:25:35 +0200 Subject: fix leaks in auditordb --- src/auditordb/plugin_auditordb_postgres.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/auditordb/plugin_auditordb_postgres.c') diff --git a/src/auditordb/plugin_auditordb_postgres.c b/src/auditordb/plugin_auditordb_postgres.c index 863e20582..9450ae94f 100644 --- a/src/auditordb/plugin_auditordb_postgres.c +++ b/src/auditordb/plugin_auditordb_postgres.c @@ -143,6 +143,7 @@ connect_to_postgres (struct PostgresClosure *pc) TALER_LOG_ERROR ("Database connection failed: %s\n", PQerrorMessage (conn)); GNUNET_break (0); + PQfinish (conn); return NULL; } PQsetNoticeReceiver (conn, -- cgit v1.2.3