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/identity/gnunet-service-identity.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/identity/gnunet-service-identity.c')
-rw-r--r-- | src/identity/gnunet-service-identity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/identity/gnunet-service-identity.c b/src/identity/gnunet-service-identity.c index b9384ea65..a8771f91d 100644 --- a/src/identity/gnunet-service-identity.c +++ b/src/identity/gnunet-service-identity.c | |||
@@ -160,7 +160,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
160 | while (NULL != (e = ego_head)) | 160 | while (NULL != (e = ego_head)) |
161 | { | 161 | { |
162 | GNUNET_CONTAINER_DLL_remove (ego_head, ego_tail, e); | 162 | GNUNET_CONTAINER_DLL_remove (ego_head, ego_tail, e); |
163 | GNUNET_CRYPTO_ecc_key_free (e->pk); | 163 | GNUNET_free (e->pk); |
164 | GNUNET_free (e); | 164 | GNUNET_free (e); |
165 | } | 165 | } |
166 | } | 166 | } |
@@ -779,7 +779,7 @@ handle_delete_message (void *cls, struct GNUNET_SERVER_Client *client, | |||
779 | GNUNET_free (ego->identifier); | 779 | GNUNET_free (ego->identifier); |
780 | ego->identifier = NULL; | 780 | ego->identifier = NULL; |
781 | notify_listeners (ego); | 781 | notify_listeners (ego); |
782 | GNUNET_CRYPTO_ecc_key_free (ego->pk); | 782 | GNUNET_free (ego->pk); |
783 | GNUNET_free (ego); | 783 | GNUNET_free (ego); |
784 | send_result_code (client, 0, NULL); | 784 | send_result_code (client, 0, NULL); |
785 | GNUNET_SERVER_receive_done (client, GNUNET_OK); | 785 | GNUNET_SERVER_receive_done (client, GNUNET_OK); |