diff options
Diffstat (limited to 'src/nat/gnunet-service-nat.c')
-rw-r--r-- | src/nat/gnunet-service-nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nat/gnunet-service-nat.c b/src/nat/gnunet-service-nat.c index 3b7d48c82..4dcc0312f 100644 --- a/src/nat/gnunet-service-nat.c +++ b/src/nat/gnunet-service-nat.c | |||
@@ -2009,7 +2009,7 @@ client_disconnect_cb (void *cls, | |||
2009 | ch->caddrs[i].mh = NULL; | 2009 | ch->caddrs[i].mh = NULL; |
2010 | } | 2010 | } |
2011 | } | 2011 | } |
2012 | GNUNET_free_non_null (ch->caddrs); | 2012 | GNUNET_free (ch->caddrs); |
2013 | while (NULL != (lal = ch->ext_addr_head)) | 2013 | while (NULL != (lal = ch->ext_addr_head)) |
2014 | { | 2014 | { |
2015 | GNUNET_CONTAINER_DLL_remove (ch->ext_addr_head, | 2015 | GNUNET_CONTAINER_DLL_remove (ch->ext_addr_head, |
@@ -2032,8 +2032,8 @@ client_disconnect_cb (void *cls, | |||
2032 | GNUNET_RESOLVER_request_cancel (ch->ext_dns); | 2032 | GNUNET_RESOLVER_request_cancel (ch->ext_dns); |
2033 | ch->ext_dns = NULL; | 2033 | ch->ext_dns = NULL; |
2034 | } | 2034 | } |
2035 | GNUNET_free_non_null (ch->hole_external); | 2035 | GNUNET_free (ch->hole_external); |
2036 | GNUNET_free_non_null (ch->section_name); | 2036 | GNUNET_free (ch->section_name); |
2037 | GNUNET_free (ch); | 2037 | GNUNET_free (ch); |
2038 | } | 2038 | } |
2039 | 2039 | ||