diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-25 22:36:56 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-25 22:36:56 +0000 |
commit | ee0de607e52152c03a865559422dad4faacad53d (patch) | |
tree | 1a0c4beb6e5c311c4200dc736325485543ac944f /src/namestore/test_namestore_api_remove.c | |
parent | f5f5d0877b5598ff90ff9ebeaa5fa63da929f132 (diff) | |
download | gnunet-ee0de607e52152c03a865559422dad4faacad53d.tar.gz gnunet-ee0de607e52152c03a865559422dad4faacad53d.zip |
trying to fix #2458, largely works
Diffstat (limited to 'src/namestore/test_namestore_api_remove.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove.c b/src/namestore/test_namestore_api_remove.c index f91085315..0ee4e44f7 100644 --- a/src/namestore/test_namestore_api_remove.c +++ b/src/namestore/test_namestore_api_remove.c | |||
@@ -74,7 +74,7 @@ static void | |||
74 | endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 74 | endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
75 | { | 75 | { |
76 | if (nsh != NULL) | 76 | if (nsh != NULL) |
77 | GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); | 77 | GNUNET_NAMESTORE_disconnect (nsh); |
78 | nsh = NULL; | 78 | nsh = NULL; |
79 | if (privkey != NULL) | 79 | if (privkey != NULL) |
80 | GNUNET_CRYPTO_rsa_key_free (privkey); | 80 | GNUNET_CRYPTO_rsa_key_free (privkey); |
@@ -100,7 +100,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
100 | GNUNET_CRYPTO_rsa_key_free (privkey); | 100 | GNUNET_CRYPTO_rsa_key_free (privkey); |
101 | privkey = NULL; | 101 | privkey = NULL; |
102 | if (nsh != NULL) | 102 | if (nsh != NULL) |
103 | GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); | 103 | GNUNET_NAMESTORE_disconnect (nsh); |
104 | nsh = NULL; | 104 | nsh = NULL; |
105 | } | 105 | } |
106 | 106 | ||