-check return value
[oweals/gnunet.git] / src / identity / test_identity_defaults.c
index f525bb6c71a44fcc2891494c8d3b3655a3803016..980f4abd255f29d42057684b13e51ce9a7654baf 100644 (file)
@@ -213,6 +213,8 @@ notification_cb (void *cls,
 {
   if (NULL == ego)
     return; /* skip first call */
+  if (NULL == identifier)
+    return; /* deletion / shutdown */
   op = GNUNET_IDENTITY_set (h,
                            "test-service",
                            ego,