Don't shut down GNU ADNS if it wasn't initialized.

svn path=/trunk/; revision=12501
This commit is contained in:
Guy Harris 2004-11-10 05:01:09 +00:00
parent 91e4d3bca3
commit 19aa464f56
1 changed files with 2 additions and 1 deletions

View File

@ -1534,7 +1534,8 @@ host_name_lookup_cleanup(void) {
g_free(qdata);
}
adns_finish(ads);
if (adns_initialized)
adns_finish(ads);
}
#else