X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fregex%2Fgnunet-service-regex.c;h=22175331c6296033eba2640ce498561d9a2b2acc;hb=0ce690b643084839053f0d7f79fd23e2487271f6;hp=e44d11b7d0a2d9bb38ae00bd5c1a5f0215ee0e33;hpb=15a8471c0edc4134f57c19884c033a63f49a04dd;p=oweals%2Fgnunet.git 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) stats = NULL; GNUNET_SERVER_notification_context_destroy (nc); nc = NULL; - GNUNET_CRYPTO_ecc_key_free (my_private_key); + GNUNET_free (my_private_key); my_private_key = NULL; } @@ -371,7 +371,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, dht = GNUNET_DHT_connect (cfg, 1024); if (NULL == dht) { - GNUNET_CRYPTO_ecc_key_free (my_private_key); + GNUNET_free (my_private_key); my_private_key = NULL; GNUNET_SCHEDULER_shutdown (); return;