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_sqlite.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_sqlite.c')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 96b0d6457..e4bfcde16 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -521,6 +521,7 @@ get_records_and_call_iterator (struct Plugin *plugin, | |||
521 | { | 521 | { |
522 | struct GNUNET_GNSRECORD_Data rd[record_count]; | 522 | struct GNUNET_GNSRECORD_Data rd[record_count]; |
523 | 523 | ||
524 | GNUNET_assert (0 != seq); | ||
524 | if (GNUNET_OK != | 525 | if (GNUNET_OK != |
525 | GNUNET_GNSRECORD_records_deserialize (data_size, | 526 | GNUNET_GNSRECORD_records_deserialize (data_size, |
526 | data, | 527 | data, |