From 8cee29503550fb5625e849f1ed92511b2da8e85d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 8 Jan 2017 20:12:23 +0100 Subject: [PATCH] fix potential free-of-null --- src/nat/gnunet-service-nat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c index 7fa329b54..6ef0dce5e 100644 --- a/src/nat/gnunet-service-nat.c +++ b/src/nat/gnunet-service-nat.c @@ -1968,7 +1968,7 @@ client_disconnect_cb (void *cls, ch->ext_dns = NULL; } GNUNET_free_non_null (ch->hole_external); - GNUNET_free (ch->section_name); + GNUNET_free_non_null (ch->section_name); GNUNET_free (ch); } -- 2.25.1