summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-28 12:52:54 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-28 12:52:54 +0100
commitd28881359480413e0b8b6a77ee23f561f3e0d7ce (patch)
tree3ae12a8bc6890cb4fc553265ad11fc3214b58f63
parent9597c08738560e53a9ecd3eb21cedebbf357ef81 (diff)
downloadmerchant-d28881359480413e0b8b6a77ee23f561f3e0d7ce.tar.gz
merchant-d28881359480413e0b8b6a77ee23f561f3e0d7ce.tar.bz2
merchant-d28881359480413e0b8b6a77ee23f561f3e0d7ce.zip
fix leak
-rw-r--r--src/backenddb/plugin_merchantdb_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backenddb/plugin_merchantdb_postgres.c b/src/backenddb/plugin_merchantdb_postgres.c
index 6e57419f..12be050b 100644
--- a/src/backenddb/plugin_merchantdb_postgres.c
+++ b/src/backenddb/plugin_merchantdb_postgres.c
@@ -3570,6 +3570,7 @@ libtaler_plugin_merchantdb_postgres_done (void *cls)
struct PostgresClosure *pg = plugin->cls;
GNUNET_PQ_disconnect (pg->conn);
+ GNUNET_free (pg->sql_dir);
GNUNET_free (pg->currency);
GNUNET_free (pg);
GNUNET_free (plugin);