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_not_existing_record.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_not_existing_record.c')
-rw-r--r-- | src/namestore/test_namestore_api_remove_not_existing_record.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_remove_not_existing_record.c b/src/namestore/test_namestore_api_remove_not_existing_record.c index a18e342e1..9ca7afae7 100644 --- a/src/namestore/test_namestore_api_remove_not_existing_record.c +++ b/src/namestore/test_namestore_api_remove_not_existing_record.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); |
@@ -101,7 +101,7 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
101 | GNUNET_CRYPTO_rsa_key_free (privkey); | 101 | GNUNET_CRYPTO_rsa_key_free (privkey); |
102 | privkey = NULL; | 102 | privkey = NULL; |
103 | if (nsh != NULL) | 103 | if (nsh != NULL) |
104 | GNUNET_NAMESTORE_disconnect (nsh, GNUNET_YES); | 104 | GNUNET_NAMESTORE_disconnect (nsh); |
105 | nsh = NULL; | 105 | nsh = NULL; |
106 | } | 106 | } |
107 | 107 | ||