fix segv on error
authorChristian Grothoff <christian@grothoff.org>
Sun, 24 Feb 2019 08:53:11 +0000 (09:53 +0100)
committerChristian Grothoff <christian@grothoff.org>
Sun, 24 Feb 2019 08:53:11 +0000 (09:53 +0100)
src/namestore/test_namestore_api_remove.c

index 35556e3309c0bef4f23e793d5d16f09ba723f0b7..02c2672aa4d5a141fb8f8d3ef32dc24369b76340 100644 (file)
@@ -127,6 +127,7 @@ put_cont (void *cls,
   const char *name = cls;
 
   GNUNET_assert (NULL != cls);
+  nsqe = NULL;
   if (GNUNET_SYSERR == success)
   {
     GNUNET_break (0);