diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-05 12:14:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-05 12:14:35 +0000 |
commit | f119aafc2bfc888ddd435a0527e5ddd5123874d0 (patch) | |
tree | edc0c9a6c53110ba0059251985a5a45be4b15672 /src/gns/gnunet-dns2gns.c | |
parent | 35623fc5e4e6c564617f95e3401e4d9ec850557e (diff) | |
download | gnunet-f119aafc2bfc888ddd435a0527e5ddd5123874d0.tar.gz gnunet-f119aafc2bfc888ddd435a0527e5ddd5123874d0.zip |
-fix clenaup
Diffstat (limited to 'src/gns/gnunet-dns2gns.c')
-rw-r--r-- | src/gns/gnunet-dns2gns.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c index 4b5c66e57..b65e45757 100644 --- a/src/gns/gnunet-dns2gns.c +++ b/src/gns/gnunet-dns2gns.c | |||
@@ -191,6 +191,16 @@ do_shutdown (void *cls, | |||
191 | GNUNET_NETWORK_socket_close (listen_socket6); | 191 | GNUNET_NETWORK_socket_close (listen_socket6); |
192 | listen_socket6 = NULL; | 192 | listen_socket6 = NULL; |
193 | } | 193 | } |
194 | if (NULL != id_op) | ||
195 | { | ||
196 | GNUNET_IDENTITY_cancel (id_op); | ||
197 | id_op = NULL; | ||
198 | } | ||
199 | if (NULL != identity) | ||
200 | { | ||
201 | GNUNET_IDENTITY_disconnect (identity); | ||
202 | identity = NULL; | ||
203 | } | ||
194 | GNUNET_GNS_disconnect (gns); | 204 | GNUNET_GNS_disconnect (gns); |
195 | gns = NULL; | 205 | gns = NULL; |
196 | GNUNET_DNSSTUB_stop (dns_stub); | 206 | GNUNET_DNSSTUB_stop (dns_stub); |