summaryrefslogtreecommitdiff
path: root/src/pq/pq_prepare.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-06-04 22:23:29 +0200
committerChristian Grothoff <christian@grothoff.org>2017-06-04 22:23:29 +0200
commite311c944f58c941c7ca1e8d2f2011b78e201dfcb (patch)
treeca5e04331a0144a4515c1d158d677e1dfa34f856 /src/pq/pq_prepare.c
parent97baa2271fab56da227f345fd8ba306d67f2c437 (diff)
fix leak
Diffstat (limited to 'src/pq/pq_prepare.c')
-rw-r--r--src/pq/pq_prepare.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pq/pq_prepare.c b/src/pq/pq_prepare.c
index f533cb564..612d6df7c 100644
--- a/src/pq/pq_prepare.c
+++ b/src/pq/pq_prepare.c
@@ -84,6 +84,7 @@ GNUNET_PQ_prepare_statements (PGconn *connection,
PQclear (ret);
return GNUNET_SYSERR;
}
+ PQclear (ret);
}
return GNUNET_OK;
}