diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-02-13 23:18:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-02-13 23:18:43 +0100 |
commit | 443454a6212e5596f7caaadf3b666fa4857edb64 (patch) | |
tree | aa018ceda1b44b958f6057e3196a97b81cd41cfe /src/namestore/plugin_namestore_postgres.c | |
parent | 7285ae216aeb5dad89055085f2d7710c4ed5934e (diff) | |
download | gnunet-443454a6212e5596f7caaadf3b666fa4857edb64.tar.gz gnunet-443454a6212e5596f7caaadf3b666fa4857edb64.zip |
clarifying namestore api (#5458), fixing code duplication and a memory leak while at it
Diffstat (limited to 'src/namestore/plugin_namestore_postgres.c')
-rw-r--r-- | src/namestore/plugin_namestore_postgres.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_postgres.c b/src/namestore/plugin_namestore_postgres.c index 57a8ae2be..f2e065882 100644 --- a/src/namestore/plugin_namestore_postgres.c +++ b/src/namestore/plugin_namestore_postgres.c | |||
@@ -400,6 +400,7 @@ parse_result_call_iterator (void *cls, | |||
400 | { | 400 | { |
401 | struct GNUNET_GNSRECORD_Data rd[GNUNET_NZL(record_count)]; | 401 | struct GNUNET_GNSRECORD_Data rd[GNUNET_NZL(record_count)]; |
402 | 402 | ||
403 | GNUNET_assert (0 != serial); | ||
403 | if (GNUNET_OK != | 404 | if (GNUNET_OK != |
404 | GNUNET_GNSRECORD_records_deserialize (data_size, | 405 | GNUNET_GNSRECORD_records_deserialize (data_size, |
405 | data, | 406 | data, |