mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
prevent endless loop
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8754 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user