aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-21 15:34:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-21 15:34:18 +0000
commit65e91346db9fe4ca1b1ff6516872454c468eb7f2 (patch)
tree4228cfb2c3b628f6dd011f8b73075ecb86343217 /src/identity/identity_api.c
parent47386fdbe2b5945fc2c319ef6899e3b67157d04f (diff)
downloadgnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.tar.gz
gnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.zip
removing GNUNET_CRYPTO_ecc_key_free, use GNUNET_free directly instead
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r--src/identity/identity_api.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index de1ce819e..d5035ba49 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -368,7 +368,7 @@ message_handler (void *cls,
368 GNUNET_CONTAINER_multihashmap_remove (h->egos, 368 GNUNET_CONTAINER_multihashmap_remove (h->egos,
369 &ego->id, 369 &ego->id,
370 ego)); 370 ego));
371 GNUNET_CRYPTO_ecc_key_free (ego->pk); 371 GNUNET_free (ego->pk);
372 GNUNET_free (ego->name); 372 GNUNET_free (ego->name);
373 GNUNET_free (ego); 373 GNUNET_free (ego);
374 } 374 }
@@ -730,7 +730,7 @@ GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id,
730 if (slen >= GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (struct GNUNET_IDENTITY_CreateRequestMessage)) 730 if (slen >= GNUNET_SERVER_MAX_MESSAGE_SIZE - sizeof (struct GNUNET_IDENTITY_CreateRequestMessage))
731 { 731 {
732 GNUNET_break (0); 732 GNUNET_break (0);
733 GNUNET_CRYPTO_ecc_key_free (pk); 733 GNUNET_free (pk);
734 return NULL; 734 return NULL;
735 } 735 }
736 op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) + 736 op = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_Operation) +
@@ -753,7 +753,7 @@ GNUNET_IDENTITY_create (struct GNUNET_IDENTITY_Handle *id,
753 op); 753 op);
754 if (NULL == id->th) 754 if (NULL == id->th)
755 transmit_next (id); 755 transmit_next (id);
756 GNUNET_CRYPTO_ecc_key_free (pk); 756 GNUNET_free (pk);
757 return op; 757 return op;
758} 758}
759 759
@@ -924,7 +924,7 @@ free_ego (void *cls,
924 ego, 924 ego,
925 &ego->ctx, 925 &ego->ctx,
926 NULL); 926 NULL);
927 GNUNET_CRYPTO_ecc_key_free (ego->pk); 927 GNUNET_free (ego->pk);
928 GNUNET_free (ego->name); 928 GNUNET_free (ego->name);
929 GNUNET_free (ego); 929 GNUNET_free (ego);
930 return GNUNET_OK; 930 return GNUNET_OK;