diff options
Diffstat (limited to 'src/regex/gnunet-service-regex.c')
-rw-r--r-- | src/regex/gnunet-service-regex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |