aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_lookup.c')
-rw-r--r--src/namestore/test_namestore_api_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_lookup.c b/src/namestore/test_namestore_api_lookup.c
index 84dc414c6..702fb2db1 100644
--- a/src/namestore/test_namestore_api_lookup.c
+++ b/src/namestore/test_namestore_api_lookup.c
@@ -70,7 +70,7 @@ static void
70endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 70endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
71{ 71{
72 if (nsh != NULL) 72 if (nsh != NULL)
73 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 73 GNUNET_NAMESTORE_disconnect (nsh);
74 nsh = NULL; 74 nsh = NULL;
75 if (privkey != NULL) 75 if (privkey != NULL)
76 GNUNET_CRYPTO_rsa_key_free (privkey); 76 GNUNET_CRYPTO_rsa_key_free (privkey);
@@ -96,7 +96,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
96 GNUNET_CRYPTO_rsa_key_free (privkey); 96 GNUNET_CRYPTO_rsa_key_free (privkey);
97 privkey = NULL; 97 privkey = NULL;
98 if (nsh != NULL) 98 if (nsh != NULL)
99 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 99 GNUNET_NAMESTORE_disconnect (nsh);
100 nsh = NULL; 100 nsh = NULL;
101} 101}
102 102