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_specific_zone.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_specific_zone.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration_specific_zone.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c index d0db013b7..453f09bb1 100644 --- a/src/namestore/test_namestore_api_zone_iteration_specific_zone.c +++ b/src/namestore/test_namestore_api_zone_iteration_specific_zone.c | |||
@@ -115,11 +115,11 @@ endbadly (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
115 | } | 115 | } |
116 | 116 | ||
117 | if (privkey != NULL) | 117 | if (privkey != NULL) |
118 | GNUNET_CRYPTO_ecc_key_free (privkey); | 118 | GNUNET_free (privkey); |
119 | privkey = NULL; | 119 | privkey = NULL; |
120 | 120 | ||
121 | if (privkey2 != NULL) | 121 | if (privkey2 != NULL) |
122 | GNUNET_CRYPTO_ecc_key_free (privkey2); | 122 | GNUNET_free (privkey2); |
123 | privkey2 = NULL; | 123 | privkey2 = NULL; |
124 | res = 1; | 124 | res = 1; |
125 | } | 125 | } |
@@ -139,10 +139,10 @@ end (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
139 | endbadly_task = GNUNET_SCHEDULER_NO_TASK; | 139 | endbadly_task = GNUNET_SCHEDULER_NO_TASK; |
140 | } | 140 | } |
141 | if (privkey != NULL) | 141 | if (privkey != NULL) |
142 | GNUNET_CRYPTO_ecc_key_free (privkey); | 142 | GNUNET_free (privkey); |
143 | privkey = NULL; | 143 | privkey = NULL; |
144 | if (privkey2 != NULL) | 144 | if (privkey2 != NULL) |
145 | GNUNET_CRYPTO_ecc_key_free (privkey2); | 145 | GNUNET_free (privkey2); |
146 | privkey2 = NULL; | 146 | privkey2 = NULL; |
147 | 147 | ||
148 | GNUNET_free (sig_1); | 148 | GNUNET_free (sig_1); |