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_zone_to_name.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_zone_to_name.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_to_name.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_zone_to_name.c b/src/namestore/test_namestore_api_zone_to_name.c index 9c2aebc36..0e29b8b33 100644 --- a/src/namestore/test_namestore_api_zone_to_name.c +++ b/src/namestore/test_namestore_api_zone_to_name.c | |||
@@ -70,7 +70,7 @@ static void | |||
70 | endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 70 | endbadly (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); |
@@ -91,7 +91,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
91 | GNUNET_CRYPTO_rsa_key_free (privkey); | 91 | GNUNET_CRYPTO_rsa_key_free (privkey); |
92 | privkey = NULL; | 92 | privkey = NULL; |
93 | if (nsh != NULL) | 93 | if (nsh != NULL) |
94 | GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); | 94 | GNUNET_NAMESTORE_disconnect (nsh); |
95 | nsh = NULL; | 95 | nsh = NULL; |
96 | } | 96 | } |
97 | 97 | ||