From ea511080b19433bc15e20d7840803431fac2d217 Mon Sep 17 00:00:00 2001 From: grothoff Date: Mon, 30 Aug 2010 21:42:10 +0000 Subject: nitpicks git-svn-id: https://gnunet.org/svn/gnunet@12773 140774ce-b5e7-0310-ab8b-a85725594a96 --- src/datastore/plugin_datastore_postgres.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/datastore/plugin_datastore_postgres.c') diff --git a/src/datastore/plugin_datastore_postgres.c b/src/datastore/plugin_datastore_postgres.c index 54bdde5422..a5f4b2c4b8 100644 --- a/src/datastore/plugin_datastore_postgres.c +++ b/src/datastore/plugin_datastore_postgres.c @@ -992,6 +992,7 @@ postgres_iterate (struct Plugin *plugin, iter (iter_cls, NULL, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, 0); + GNUNET_free (nrc); return; } nrc->bnow = GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_get ()).value__; @@ -1161,6 +1162,7 @@ postgres_plugin_get (void *cls, iter (iter_cls, NULL, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, 0); + GNUNET_free (nrc); return; } if ((PQntuples (ret) != 1) || @@ -1172,6 +1174,7 @@ postgres_plugin_get (void *cls, iter (iter_cls, NULL, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, 0); + GNUNET_free (nrc); return; } nrc->total = GNUNET_ntohll (*(const unsigned long long *) PQgetvalue (ret, 0, 0)); @@ -1181,6 +1184,7 @@ postgres_plugin_get (void *cls, iter (iter_cls, NULL, NULL, 0, NULL, 0, 0, 0, GNUNET_TIME_UNIT_ZERO_ABS, 0); + GNUNET_free (nrc); return; } nrc->off = GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_WEAK, -- cgit v1.2.3-18-g5258