fix leak
authorChristian Grothoff <christian@grothoff.org>
Sat, 18 Jan 2020 16:55:39 +0000 (17:55 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sat, 18 Jan 2020 16:55:39 +0000 (17:55 +0100)
src/pq/pq_connect.c

index 3d514e51ff7c254a09ff1d1c62b40dfa2b292a30..f158a4c3ac3ee19ffe05ff1279a247fc3afd2aad 100644 (file)
@@ -323,6 +323,7 @@ GNUNET_PQ_disconnect (struct GNUNET_PQ_Context *db)
   GNUNET_free_non_null (db->ps);
   GNUNET_free_non_null (db->load_path);
   PQfinish (db->conn);
+  GNUNET_free (db->config_str);
   GNUNET_free (db);
 }