From 7a47eb39cbfc33816c2fdd0682101259420ad1f5 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Mon, 10 Oct 2016 08:20:30 +0000 Subject: [PATCH] -fix --- src/gns/gnunet-service-gns_reverser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gns/gnunet-service-gns_reverser.c b/src/gns/gnunet-service-gns_reverser.c index 28c4f4e4d..21bbe3578 100644 --- a/src/gns/gnunet-service-gns_reverser.c +++ b/src/gns/gnunet-service-gns_reverser.c @@ -581,7 +581,8 @@ GNS_reverse_init (struct GNUNET_NAMESTORE_Handle *nh, void GNS_reverse_done () { - GNUNET_free (mynick); + if (NULL != mynick) + GNUNET_free (mynick); if (NULL != it_task) GNUNET_SCHEDULER_cancel (it_task); if (NULL != reverse_record_check_task) -- 2.25.1