fix leak
authorChristian Grothoff <christian@grothoff.org>
Sun, 4 Jun 2017 20:23:29 +0000 (22:23 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sun, 4 Jun 2017 20:23:29 +0000 (22:23 +0200)
src/pq/pq_prepare.c

index f533cb56445ed14e84a9fa35822de51bbc9bd59f..612d6df7cc2e907efa92d84174a82424fc5f628c 100644 (file)
@@ -84,6 +84,7 @@ GNUNET_PQ_prepare_statements (PGconn *connection,
       PQclear (ret);
       return GNUNET_SYSERR;
     }
+    PQclear (ret);
   }
   return GNUNET_OK;
 }