diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-21 15:34:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-21 15:34:18 +0000 |
commit | 65e91346db9fe4ca1b1ff6516872454c468eb7f2 (patch) | |
tree | 4228cfb2c3b628f6dd011f8b73075ecb86343217 /src/namestore/test_namestore_api_zone_iteration_stop.c | |
parent | 47386fdbe2b5945fc2c319ef6899e3b67157d04f (diff) | |
download | gnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.tar.gz gnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.zip |
removing GNUNET_CRYPTO_ecc_key_free, use GNUNET_free directly instead
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration_stop.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_stop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_stop.c b/src/namestore/test_namestore_api_zone_iteration_stop.c index abd7c2564..f4face314 100644 --- a/src/namestore/test_namestore_api_zone_iteration_stop.c +++ b/src/namestore/test_namestore_api_zone_iteration_stop.c | |||
@@ -112,11 +112,11 @@ endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
112 | GNUNET_free (s_rd_3); | 112 | GNUNET_free (s_rd_3); |
113 | } | 113 | } |
114 | if (privkey != NULL) | 114 | if (privkey != NULL) |
115 | GNUNET_CRYPTO_ecc_key_free (privkey); | 115 | GNUNET_free (privkey); |
116 | privkey = NULL; | 116 | privkey = NULL; |
117 | 117 | ||
118 | if (privkey2 != NULL) | 118 | if (privkey2 != NULL) |
119 | GNUNET_CRYPTO_ecc_key_free (privkey2); | 119 | GNUNET_free (privkey2); |
120 | privkey2 = NULL; | 120 | privkey2 = NULL; |
121 | res = 1; | 121 | res = 1; |
122 | } | 122 | } |
@@ -137,10 +137,10 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
137 | endbadly_task = GNUNET_SCHEDULER_NO_TASK; | 137 | endbadly_task = GNUNET_SCHEDULER_NO_TASK; |
138 | } | 138 | } |
139 | if (privkey != NULL) | 139 | if (privkey != NULL) |
140 | GNUNET_CRYPTO_ecc_key_free (privkey); | 140 | GNUNET_free (privkey); |
141 | privkey = NULL; | 141 | privkey = NULL; |
142 | if (privkey2 != NULL) | 142 | if (privkey2 != NULL) |
143 | GNUNET_CRYPTO_ecc_key_free (privkey2); | 143 | GNUNET_free (privkey2); |
144 | privkey2 = NULL; | 144 | privkey2 = NULL; |
145 | 145 | ||
146 | GNUNET_free (sig_1); | 146 | GNUNET_free (sig_1); |