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/fs | |
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/fs')
-rw-r--r-- | src/fs/fs_publish_ublock.c | 2 | ||||
-rw-r--r-- | src/fs/fs_uri.c | 2 | ||||
-rw-r--r-- | src/fs/test_fs_namespace.c | 4 | ||||
-rw-r--r-- | src/fs/test_fs_namespace_list_updateable.c | 2 | ||||
-rw-r--r-- | src/fs/test_pseudonym.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/fs_publish_ublock.c b/src/fs/fs_publish_ublock.c index 75446e8a8..e45808793 100644 --- a/src/fs/fs_publish_ublock.c +++ b/src/fs/fs_publish_ublock.c | |||
@@ -252,7 +252,7 @@ GNUNET_FS_publish_ublock_ (struct GNUNET_FS_Handle *h, | |||
252 | GNUNET_CRYPTO_hash (&ub_enc->verification_key, | 252 | GNUNET_CRYPTO_hash (&ub_enc->verification_key, |
253 | sizeof (ub_enc->verification_key), | 253 | sizeof (ub_enc->verification_key), |
254 | &query); | 254 | &query); |
255 | GNUNET_CRYPTO_ecc_key_free (nsd); | 255 | GNUNET_free (nsd); |
256 | 256 | ||
257 | uc = GNUNET_new (struct GNUNET_FS_PublishUblockContext); | 257 | uc = GNUNET_new (struct GNUNET_FS_PublishUblockContext); |
258 | uc->cont = cont; | 258 | uc->cont = cont; |
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 72704828d..e35287bef 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -936,7 +936,7 @@ GNUNET_FS_uri_loc_create (const struct GNUNET_FS_Uri *baseUri, | |||
936 | GNUNET_assert (GNUNET_OK == | 936 | GNUNET_assert (GNUNET_OK == |
937 | GNUNET_CRYPTO_ecc_sign (my_private_key, &ass.purpose, | 937 | GNUNET_CRYPTO_ecc_sign (my_private_key, &ass.purpose, |
938 | &uri->data.loc.contentSignature)); | 938 | &uri->data.loc.contentSignature)); |
939 | GNUNET_CRYPTO_ecc_key_free (my_private_key); | 939 | GNUNET_free (my_private_key); |
940 | return uri; | 940 | return uri; |
941 | } | 941 | } |
942 | 942 | ||
diff --git a/src/fs/test_fs_namespace.c b/src/fs/test_fs_namespace.c index c8371f0b5..680d1b61b 100644 --- a/src/fs/test_fs_namespace.c +++ b/src/fs/test_fs_namespace.c | |||
@@ -259,7 +259,7 @@ adv_cont (void *cls, const struct GNUNET_FS_Uri *uri, const char *emsg) | |||
259 | GNUNET_FS_publish_sks (fs, ns, "this", "next", meta, uri, | 259 | GNUNET_FS_publish_sks (fs, ns, "this", "next", meta, uri, |
260 | &bo, GNUNET_FS_PUBLISH_OPTION_NONE, &sks_cont, NULL); | 260 | &bo, GNUNET_FS_PUBLISH_OPTION_NONE, &sks_cont, NULL); |
261 | GNUNET_CONTAINER_meta_data_destroy (meta); | 261 | GNUNET_CONTAINER_meta_data_destroy (meta); |
262 | GNUNET_CRYPTO_ecc_key_free (ns); | 262 | GNUNET_free (ns); |
263 | } | 263 | } |
264 | 264 | ||
265 | 265 | ||
@@ -291,7 +291,7 @@ testNamespace () | |||
291 | NULL); | 291 | NULL); |
292 | GNUNET_FS_uri_destroy (ksk_uri); | 292 | GNUNET_FS_uri_destroy (ksk_uri); |
293 | GNUNET_CONTAINER_meta_data_destroy (meta); | 293 | GNUNET_CONTAINER_meta_data_destroy (meta); |
294 | GNUNET_CRYPTO_ecc_key_free (ns); | 294 | GNUNET_free (ns); |
295 | } | 295 | } |
296 | 296 | ||
297 | 297 | ||
diff --git a/src/fs/test_fs_namespace_list_updateable.c b/src/fs/test_fs_namespace_list_updateable.c index ff662c9e6..d42dfb7f4 100644 --- a/src/fs/test_fs_namespace_list_updateable.c +++ b/src/fs/test_fs_namespace_list_updateable.c | |||
@@ -59,7 +59,7 @@ do_shutdown () | |||
59 | if (uri_next != NULL) | 59 | if (uri_next != NULL) |
60 | GNUNET_FS_uri_destroy (uri_next); | 60 | GNUNET_FS_uri_destroy (uri_next); |
61 | if (ns != NULL) | 61 | if (ns != NULL) |
62 | GNUNET_CRYPTO_ecc_key_free (ns); | 62 | GNUNET_free (ns); |
63 | if (meta != NULL) | 63 | if (meta != NULL) |
64 | GNUNET_CONTAINER_meta_data_destroy (meta); | 64 | GNUNET_CONTAINER_meta_data_destroy (meta); |
65 | } | 65 | } |
diff --git a/src/fs/test_pseudonym.c b/src/fs/test_pseudonym.c index c3b459420..56b9d9637 100644 --- a/src/fs/test_pseudonym.c +++ b/src/fs/test_pseudonym.c | |||
@@ -86,7 +86,7 @@ create_pseu (struct GNUNET_CRYPTO_EccPublicKey *pseu) | |||
86 | 86 | ||
87 | ph = GNUNET_CRYPTO_ecc_key_create (); | 87 | ph = GNUNET_CRYPTO_ecc_key_create (); |
88 | GNUNET_CRYPTO_ecc_key_get_public (ph, pseu); | 88 | GNUNET_CRYPTO_ecc_key_get_public (ph, pseu); |
89 | GNUNET_CRYPTO_ecc_key_free (ph); | 89 | GNUNET_free (ph); |
90 | } | 90 | } |
91 | 91 | ||
92 | 92 | ||