aboutsummaryrefslogtreecommitdiff
path: root/src/regex
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/regex
parent47386fdbe2b5945fc2c319ef6899e3b67157d04f (diff)
downloadgnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.tar.gz
gnunet-65e91346db9fe4ca1b1ff6516872454c468eb7f2.zip
removing GNUNET_CRYPTO_ecc_key_free, use GNUNET_free directly instead
Diffstat (limited to 'src/regex')
-rw-r--r--src/regex/gnunet-daemon-regexprofiler.c2
-rw-r--r--src/regex/gnunet-service-regex.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c
index 86f7d451b..685457973 100644
--- a/src/regex/gnunet-daemon-regexprofiler.c
+++ b/src/regex/gnunet-daemon-regexprofiler.c
@@ -124,7 +124,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
124 GNUNET_DHT_disconnect (dht_handle); 124 GNUNET_DHT_disconnect (dht_handle);
125 dht_handle = NULL; 125 dht_handle = NULL;
126 } 126 }
127 GNUNET_CRYPTO_ecc_key_free (my_private_key); 127 GNUNET_free (my_private_key);
128 my_private_key = NULL; 128 my_private_key = NULL;
129 129
130 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 130 GNUNET_log (GNUNET_ERROR_TYPE_INFO,
diff --git a/src/regex/gnunet-service-regex.c b/src/regex/gnunet-service-regex.c
index e44d11b7d..22175331c 100644
--- a/src/regex/gnunet-service-regex.c
+++ b/src/regex/gnunet-service-regex.c
@@ -120,7 +120,7 @@ cleanup_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
120 stats = NULL; 120 stats = NULL;
121 GNUNET_SERVER_notification_context_destroy (nc); 121 GNUNET_SERVER_notification_context_destroy (nc);
122 nc = NULL; 122 nc = NULL;
123 GNUNET_CRYPTO_ecc_key_free (my_private_key); 123 GNUNET_free (my_private_key);
124 my_private_key = NULL; 124 my_private_key = NULL;
125} 125}
126 126
@@ -371,7 +371,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
371 dht = GNUNET_DHT_connect (cfg, 1024); 371 dht = GNUNET_DHT_connect (cfg, 1024);
372 if (NULL == dht) 372 if (NULL == dht)
373 { 373 {
374 GNUNET_CRYPTO_ecc_key_free (my_private_key); 374 GNUNET_free (my_private_key);
375 my_private_key = NULL; 375 my_private_key = NULL;
376 GNUNET_SCHEDULER_shutdown (); 376 GNUNET_SCHEDULER_shutdown ();
377 return; 377 return;