diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-11 14:35:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-11 14:35:44 +0000 |
commit | c7c9e6915281826e3027bc215ddffb14c2a72e47 (patch) | |
tree | a68cc6bcdb37aaca1f40653e381ae9bda6a25f35 /src/nat/nat.c | |
parent | 9d360141d21175b260815e9330d60b1dbc96ef44 (diff) | |
download | gnunet-c7c9e6915281826e3027bc215ddffb14c2a72e47.tar.gz gnunet-c7c9e6915281826e3027bc215ddffb14c2a72e47.zip |
proper cleanup
Diffstat (limited to 'src/nat/nat.c')
-rw-r--r-- | src/nat/nat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 9d7d3ee72..bf9565877 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1316,7 +1316,8 @@ GNUNET_NAT_unregister (struct GNUNET_NAT_Handle *h) | |||
1316 | GNUNET_CONTAINER_DLL_remove (h->mini_head, | 1316 | GNUNET_CONTAINER_DLL_remove (h->mini_head, |
1317 | h->mini_tail, | 1317 | h->mini_tail, |
1318 | ml); | 1318 | ml); |
1319 | GNUNET_NAT_mini_map_stop (ml->mini); | 1319 | if (NULL != ml->mini) |
1320 | GNUNET_NAT_mini_map_stop (ml->mini); | ||
1320 | GNUNET_free (ml); | 1321 | GNUNET_free (ml); |
1321 | } | 1322 | } |
1322 | if (h->ext_dns != NULL) | 1323 | if (h->ext_dns != NULL) |