diff options
Diffstat (limited to 'src')
-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 | } |