diff options
Diffstat (limited to 'src/util/server.c')
-rw-r--r-- | src/util/server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/server.c b/src/util/server.c index adc19ecb7..6f2ffe232 100644 --- a/src/util/server.c +++ b/src/util/server.c | |||
@@ -538,6 +538,7 @@ GNUNET_SERVER_destroy (struct GNUNET_SERVER_Handle *s) | |||
538 | } | 538 | } |
539 | while (NULL != (npos = s->disconnect_notify_list)) | 539 | while (NULL != (npos = s->disconnect_notify_list)) |
540 | { | 540 | { |
541 | npos->callback (npos->callback_cls, NULL); | ||
541 | s->disconnect_notify_list = npos->next; | 542 | s->disconnect_notify_list = npos->next; |
542 | GNUNET_free (npos); | 543 | GNUNET_free (npos); |
543 | } | 544 | } |