git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6022 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2007-10-23 00:11:03 +00:00
parent 0ed7b160b1
commit d125f8a74b
2 changed files with 9 additions and 17 deletions

View File

@@ -282,7 +282,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_destroy_memory_pool(switch_m
printf("Free Pool %s %s:%d\n", file, func, line);
#endif
if (switch_queue_trypush(memory_manager.pool_queue, *pool) != SWITCH_STATUS_SUCCESS) {
if (switch_queue_push(memory_manager.pool_queue, *pool) != SWITCH_STATUS_SUCCESS) {
apr_pool_destroy(*pool);
}
*pool = NULL;