diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-10 10:58:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-10 10:58:03 +0000 |
commit | 946519bd5ddd5bf8f6459fe091e45b1adec29c45 (patch) | |
tree | faf1c40c2b7e18bcc4784dc929c9eca0e02949fa /src/namestore/plugin_namestore_sqlite.c | |
parent | ea16c7437091f1d8fccec3cc4398621d86b97e3d (diff) | |
download | gnunet-946519bd5ddd5bf8f6459fe091e45b1adec29c45.tar.gz gnunet-946519bd5ddd5bf8f6459fe091e45b1adec29c45.zip |
-finalize iterate_all_zones as well
Diffstat (limited to 'src/namestore/plugin_namestore_sqlite.c')
-rw-r--r-- | src/namestore/plugin_namestore_sqlite.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/namestore/plugin_namestore_sqlite.c b/src/namestore/plugin_namestore_sqlite.c index 370ed0873..fe92169ff 100644 --- a/src/namestore/plugin_namestore_sqlite.c +++ b/src/namestore/plugin_namestore_sqlite.c | |||
@@ -353,16 +353,18 @@ database_shutdown (struct Plugin *plugin) | |||
353 | 353 | ||
354 | if (NULL != plugin->cache_block) | 354 | if (NULL != plugin->cache_block) |
355 | sqlite3_finalize (plugin->cache_block); | 355 | sqlite3_finalize (plugin->cache_block); |
356 | if (NULL != plugin->expire_blocks) | ||
357 | sqlite3_finalize (plugin->expire_blocks); | ||
358 | if (NULL != plugin->lookup_block) | 356 | if (NULL != plugin->lookup_block) |
359 | sqlite3_finalize (plugin->lookup_block); | 357 | sqlite3_finalize (plugin->lookup_block); |
358 | if (NULL != plugin->expire_blocks) | ||
359 | sqlite3_finalize (plugin->expire_blocks); | ||
360 | if (NULL != plugin->store_records) | 360 | if (NULL != plugin->store_records) |
361 | sqlite3_finalize (plugin->store_records); | 361 | sqlite3_finalize (plugin->store_records); |
362 | if (NULL != plugin->delete_records) | 362 | if (NULL != plugin->delete_records) |
363 | sqlite3_finalize (plugin->delete_records); | 363 | sqlite3_finalize (plugin->delete_records); |
364 | if (NULL != plugin->iterate_zone) | 364 | if (NULL != plugin->iterate_zone) |
365 | sqlite3_finalize (plugin->iterate_zone); | 365 | sqlite3_finalize (plugin->iterate_zone); |
366 | if (NULL != plugin->iterate_all_zones) | ||
367 | sqlite3_finalize (plugin->iterate_all_zones); | ||
366 | if (NULL != plugin->zone_to_name) | 368 | if (NULL != plugin->zone_to_name) |
367 | sqlite3_finalize (plugin->zone_to_name); | 369 | sqlite3_finalize (plugin->zone_to_name); |
368 | result = sqlite3_close (plugin->dbh); | 370 | result = sqlite3_close (plugin->dbh); |