-check return value
[oweals/gnunet.git] / src / identity / test_identity_defaults.c
index ad4b91ae9eb822e4a2895a7324168b8ffa2c089a..980f4abd255f29d42057684b13e51ce9a7654baf 100644 (file)
@@ -24,7 +24,6 @@
  * @author Christian Grothoff
  */
 #include "platform.h"
-#include "gnunet_common.h"
 #include "gnunet_util_lib.h"
 #include "gnunet_identity_service.h"
 #include "gnunet_testing_lib.h"
@@ -214,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,