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;
|
TLD *t;
|
||||||
lnode_t *tn;
|
lnode_t *tn;
|
||||||
|
|
||||||
|
if (gi) {
|
||||||
GeoIP_delete(gi);
|
GeoIP_delete(gi);
|
||||||
|
}
|
||||||
tn = list_first(Thead);
|
tn = list_first(Thead);
|
||||||
while (tn != NULL) {
|
while (tn != NULL) {
|
||||||
t = lnode_get(tn);
|
t = lnode_get(tn);
|
||||||
|
|
Reference in a new issue