FS-3901 FS-3870 yay a chain of regressions

This commit is contained in:
Anthony Minessale 2012-02-16 16:09:41 -06:00
parent 90805f6d02
commit a822421be1
1 changed files with 2 additions and 1 deletions

View File

@ -2321,7 +2321,8 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_exten(switch_core_se
new_profile = switch_caller_profile_clone(session, profile);
new_profile->destination_number = switch_core_strdup(new_profile->pool, exten);
new_profile->times = profile->times;
new_profile->times = (switch_channel_timetable_t *) switch_core_session_alloc(session, sizeof(*new_profile->times));
*new_profile->times = *profile->times;
if (!zstr(dialplan)) {