summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSree Harsha Totakura <sreeharsha@totakura.in>2015-03-26 18:32:08 +0100
committerSree Harsha Totakura <sreeharsha@totakura.in>2015-03-26 18:32:08 +0100
commit7e37ee5afe9a1c16401faba64cacc0da65502921 (patch)
tree50cd63492fe2c3b6b077bb2d21e8308c910dad5c
parentc53a4d5b82b7235734b21481305932a031ef7822 (diff)
downloadexchange-7e37ee5afe9a1c16401faba64cacc0da65502921.tar.gz
exchange-7e37ee5afe9a1c16401faba64cacc0da65502921.tar.bz2
exchange-7e37ee5afe9a1c16401faba64cacc0da65502921.zip
db: Free the connection_cfg_str created during postgres plugin load
-rw-r--r--src/mint/plugin_mintdb_postgres.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mint/plugin_mintdb_postgres.c b/src/mint/plugin_mintdb_postgres.c
index 8edee59ae..4b7637cf8 100644
--- a/src/mint/plugin_mintdb_postgres.c
+++ b/src/mint/plugin_mintdb_postgres.c
@@ -2348,6 +2348,7 @@ libtaler_plugin_mintdb_postgres_done (void *cls)
struct TALER_MINTDB_Plugin *plugin = cls;
struct PostgresClosure *pg = plugin->cls;
+ GNUNET_free (pg->TALER_MINT_db_connection_cfg_str);
GNUNET_free (pg);
GNUNET_free (plugin);
return NULL;