gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r29153 - gnunet/src/namestore


From: gnunet
Subject: [GNUnet-SVN] r29153 - gnunet/src/namestore
Date: Tue, 10 Sep 2013 12:58:03 +0200

Author: grothoff
Date: 2013-09-10 12:58:03 +0200 (Tue, 10 Sep 2013)
New Revision: 29153

Modified:
   gnunet/src/namestore/gnunet-service-namestore.c
   gnunet/src/namestore/plugin_namestore_sqlite.c
Log:
-finalize iterate_all_zones as well

Modified: gnunet/src/namestore/gnunet-service-namestore.c
===================================================================
--- gnunet/src/namestore/gnunet-service-namestore.c     2013-09-10 10:54:28 UTC 
(rev 29152)
+++ gnunet/src/namestore/gnunet-service-namestore.c     2013-09-10 10:58:03 UTC 
(rev 29153)
@@ -912,7 +912,7 @@
   {
     /* what is this!? should never happen */
     proc->res_iteration_finished = IT_START;
-    GNUNET_break (0);
+    GNUNET_assert (0);
     return;    
   }
   proc->res_iteration_finished = IT_SUCCESS_MORE_AVAILABLE;

Modified: gnunet/src/namestore/plugin_namestore_sqlite.c
===================================================================
--- gnunet/src/namestore/plugin_namestore_sqlite.c      2013-09-10 10:54:28 UTC 
(rev 29152)
+++ gnunet/src/namestore/plugin_namestore_sqlite.c      2013-09-10 10:58:03 UTC 
(rev 29153)
@@ -353,16 +353,18 @@
 
   if (NULL != plugin->cache_block)
     sqlite3_finalize (plugin->cache_block);
+  if (NULL != plugin->lookup_block)
+    sqlite3_finalize (plugin->lookup_block);
   if (NULL != plugin->expire_blocks)
     sqlite3_finalize (plugin->expire_blocks);
-  if (NULL != plugin->lookup_block)
-    sqlite3_finalize (plugin->lookup_block);
   if (NULL != plugin->store_records)
     sqlite3_finalize (plugin->store_records);
   if (NULL != plugin->delete_records)
     sqlite3_finalize (plugin->delete_records);
   if (NULL != plugin->iterate_zone)
     sqlite3_finalize (plugin->iterate_zone);
+  if (NULL != plugin->iterate_all_zones)
+    sqlite3_finalize (plugin->iterate_all_zones);
   if (NULL != plugin->zone_to_name)
     sqlite3_finalize (plugin->zone_to_name);
   result = sqlite3_close (plugin->dbh);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]