From: Anthony Minessale Date: Thu, 16 Feb 2012 22:09:41 +0000 (-0600) Subject: FS-3901 FS-3870 yay a chain of regressions X-Git-Tag: v1.2-rc1~19^2^2~68^2~90 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a822421be1091c1c93e2634e8c9455c2ab6b708d;p=thirdparty%2Ffreeswitch.git FS-3901 FS-3870 yay a chain of regressions --- diff --git a/src/switch_core_session.c b/src/switch_core_session.c index 76a89b1fc2..aaf986b1c8 100644 --- a/src/switch_core_session.c +++ b/src/switch_core_session.c @@ -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)) {