diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-02-21 10:42:28 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-02-21 10:42:28 +0100 |
commit | a5c4a4b1c66b2bab197d0690881d6f3bdc56a833 (patch) | |
tree | 80c689721d5e024710485585fba70f55fc59d02f /src/util | |
parent | aad47a3092ff6139902c28d84d4e53453ade6343 (diff) | |
download | gnunet-a5c4a4b1c66b2bab197d0690881d6f3bdc56a833.tar.gz gnunet-a5c4a4b1c66b2bab197d0690881d6f3bdc56a833.zip |
prevent crash on exit
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/service_new.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/service_new.c b/src/util/service_new.c index 1b3254cca..00d05dacc 100644 --- a/src/util/service_new.c +++ b/src/util/service_new.c | |||
@@ -1627,7 +1627,7 @@ GNUNET_SERVICE_starT (const char *service_name, | |||
1627 | sh->handlers = GNUNET_MQ_copy_handlers (handlers); | 1627 | sh->handlers = GNUNET_MQ_copy_handlers (handlers); |
1628 | if (GNUNET_OK != setup_service (sh)) | 1628 | if (GNUNET_OK != setup_service (sh)) |
1629 | { | 1629 | { |
1630 | GNUNET_free (sh->handlers); | 1630 | GNUNET_free_non_null (sh->handlers); |
1631 | GNUNET_free (sh); | 1631 | GNUNET_free (sh); |
1632 | return NULL; | 1632 | return NULL; |
1633 | } | 1633 | } |