-fix tests
[oweals/gnunet.git] / src / gns / test_gns_dht_delegated_lookup.c
index f81a8d02830776e1f9b52640acfaf11cec5274ce..de393fa08e820f7ed8ee228bca7a7b8fd22bba4f 100644 (file)
@@ -150,6 +150,7 @@ on_lookup_result(void *cls, uint32_t rd_count,
       }
     }
   }
+  GNUNET_GNS_disconnect(gns_handle);
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Shutting down peer1!\n");
   GNUNET_TESTING_daemon_stop (d1, TIMEOUT, &shutdown_callback, NULL,
                               GNUNET_YES, GNUNET_NO);