From: Martin Schanzenbach Date: Mon, 10 Oct 2016 08:20:30 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~140 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7a47eb39cbfc33816c2fdd0682101259420ad1f5;p=oweals%2Fgnunet.git -fix --- 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)