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/gns/gnunet-gns.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/gns/gnunet-gns.c')
-rw-r--r-- | src/gns/gnunet-gns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns.c b/src/gns/gnunet-gns.c index d58018d20..c1944c1e2 100644 --- a/src/gns/gnunet-gns.c +++ b/src/gns/gnunet-gns.c | |||
@@ -162,7 +162,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
162 | /* FIXME: use identity service and/or allow user to specify public key! */ | 162 | /* FIXME: use identity service and/or allow user to specify public key! */ |
163 | key = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile); | 163 | key = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile); |
164 | GNUNET_CRYPTO_ecc_key_get_public (key, &pkey); | 164 | GNUNET_CRYPTO_ecc_key_get_public (key, &pkey); |
165 | GNUNET_CRYPTO_ecc_key_free (key); | 165 | GNUNET_free (key); |
166 | GNUNET_free (keyfile); | 166 | GNUNET_free (keyfile); |
167 | 167 | ||
168 | if (GNUNET_OK != | 168 | if (GNUNET_OK != |
@@ -202,7 +202,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
202 | return; | 202 | return; |
203 | } | 203 | } |
204 | if (NULL != shorten_key) | 204 | if (NULL != shorten_key) |
205 | GNUNET_CRYPTO_ecc_key_free (shorten_key); | 205 | GNUNET_free (shorten_key); |
206 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, | 206 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, |
207 | &do_shutdown, NULL); | 207 | &do_shutdown, NULL); |
208 | } | 208 | } |