From: psyc://loupsycedyglgamf.onion/~lynX Date: Sun, 26 Nov 2017 05:31:59 +0000 (+0000) Subject: can't find who suggested this crasher fix.. delayed by pgp X-Git-Tag: gnunet-0.11.0rc0~98^2^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a2ce0b6a76788e5a5fe32086c6619ffc143e09eb;p=oweals%2Fgnunet.git can't find who suggested this crasher fix.. delayed by pgp --- diff --git a/src/social/social_api.c b/src/social/social_api.c index af1d6e57e..d57d16cfb 100644 --- a/src/social/social_api.c +++ b/src/social/social_api.c @@ -2693,6 +2693,8 @@ GNUNET_SOCIAL_app_disconnect (struct GNUNET_SOCIAL_App *app, GNUNET_ContinuationCallback disconnect_cb, void *disconnect_cls) { + if (NULL == app) return; + app->disconnect_cb = disconnect_cb; app->disconnect_cls = disconnect_cls;