diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-08 20:12:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-08 20:12:23 +0100 |
commit | 8cee29503550fb5625e849f1ed92511b2da8e85d (patch) | |
tree | 6a734ffda1079c97301061a7247daa6b0d82f3b4 /src/nat | |
parent | 869b3a7feb1e130a374540526f24107ded7fb1f9 (diff) | |
download | gnunet-8cee29503550fb5625e849f1ed92511b2da8e85d.tar.gz gnunet-8cee29503550fb5625e849f1ed92511b2da8e85d.zip |
fix potential free-of-null
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/gnunet-service-nat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
1968 | ch->ext_dns = NULL; | 1968 | ch->ext_dns = NULL; |
1969 | } | 1969 | } |
1970 | GNUNET_free_non_null (ch->hole_external); | 1970 | GNUNET_free_non_null (ch->hole_external); |
1971 | GNUNET_free (ch->section_name); | 1971 | GNUNET_free_non_null (ch->section_name); |
1972 | GNUNET_free (ch); | 1972 | GNUNET_free (ch); |
1973 | } | 1973 | } |
1974 | 1974 | ||