aboutsummaryrefslogtreecommitdiff
path: root/src/namestore/test_namestore_api_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/namestore/test_namestore_api_create.c')
-rw-r--r--src/namestore/test_namestore_api_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_create.c b/src/namestore/test_namestore_api_create.c
index a9956c53e..9c794b235 100644
--- a/src/namestore/test_namestore_api_create.c
+++ b/src/namestore/test_namestore_api_create.c
@@ -79,7 +79,7 @@ static void
79endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) 79endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
80{ 80{
81 if (nsh != NULL) 81 if (nsh != NULL)
82 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 82 GNUNET_NAMESTORE_disconnect (nsh);
83 nsh = NULL; 83 nsh = NULL;
84 if (privkey != NULL) 84 if (privkey != NULL)
85 GNUNET_CRYPTO_rsa_key_free (privkey); 85 GNUNET_CRYPTO_rsa_key_free (privkey);
@@ -103,7 +103,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
103 GNUNET_CRYPTO_rsa_key_free (privkey); 103 GNUNET_CRYPTO_rsa_key_free (privkey);
104 privkey = NULL; 104 privkey = NULL;
105 if (nsh != NULL) 105 if (nsh != NULL)
106 GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); 106 GNUNET_NAMESTORE_disconnect (nsh);
107 nsh = NULL; 107 nsh = NULL;
108} 108}
109 109