From a2ce0b6a76788e5a5fe32086c6619ffc143e09eb Mon Sep 17 00:00:00 2001 From: "psyc://loupsycedyglgamf.onion/~lynX" Date: Sun, 26 Nov 2017 05:31:59 +0000 Subject: [PATCH] can't find who suggested this crasher fix.. delayed by pgp --- src/social/social_api.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.25.1