mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 10:44:16 +00:00
cleanup
This commit is contained in:
1 parent
2a8841ab66
commit
b3140af073
2 files changed
+3
-8
No files matched your search
@@ -5743,12 +5743,7 @@ int sofia_recover_callback(switch_core_session_t *session)
|
||||
}
|
||||
|
||||
|
||||
if (!(tech_pvt = (private_object_t *) switch_core_session_alloc(session, sizeof(private_object_t)))) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_CRIT, "Hey where is my memory pool?\n");
|
||||
switch_core_session_destroy(&session);
|
||||
goto end;
|
||||
}
|
||||
|
||||
tech_pvt = (private_object_t *) switch_core_session_alloc(session, sizeof(private_object_t));
|
||||
tech_pvt->channel = channel;
|
||||
|
||||
switch_mutex_init(&tech_pvt->flag_mutex, SWITCH_MUTEX_NESTED, switch_core_session_get_pool(session));
|
||||
|
||||
Reference in new issue
Block a user