Fix statserv crash on exit
This commit is contained in:
parent
b44a044d6e
commit
2b1ed34bf0
1 changed files with 3 additions and 1 deletions
|
@ -190,7 +190,9 @@ void fini_tld() {
|
|||
TLD *t;
|
||||
lnode_t *tn;
|
||||
|
||||
GeoIP_delete(gi);
|
||||
if (gi) {
|
||||
GeoIP_delete(gi);
|
||||
}
|
||||
tn = list_first(Thead);
|
||||
while (tn != NULL) {
|
||||
t = lnode_get(tn);
|
||||
|
|
Reference in a new issue