can't find who suggested this crasher fix.. delayed by pgp
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>
Sun, 26 Nov 2017 05:31:59 +0000 (05:31 +0000)
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>
Sun, 26 Nov 2017 05:31:59 +0000 (05:31 +0000)
src/social/social_api.c

index af1d6e57eeb919aa6050f5eb9e4c7de280dd757b..d57d16cfbee9cf53a43c3434851be174d06999b4 100644 (file)
@@ -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;