prevent endless loop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8754 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
f4160459a6
commit
fd4a3d5515
|
@ -1990,7 +1990,12 @@ APR_DECLARE(void) apr_pool_cleanup_kill(apr_pool_t *p, const void *data,
|
|||
}
|
||||
|
||||
lastp = &c->next;
|
||||
c = c->next;
|
||||
|
||||
if (c == c->next) {
|
||||
c = NULL;
|
||||
} else {
|
||||
c = c->next;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue