From 88003520bb689810910caa4ea993f8437ff8e638 Mon Sep 17 00:00:00 2001 From: Anthony Minessale <anthm@freeswitch.org> Date: Wed, 15 May 2013 07:36:56 -0500 Subject: [PATCH] FS-5208 --resolve --- src/switch_ivr_async.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index a9e86c9c65..2d43863826 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -1330,6 +1330,8 @@ static void* switch_ivr_record_user_data_dup(switch_core_session_t *session, voi dup = switch_core_session_alloc(session, sizeof(*dup)); memcpy(dup, rh, sizeof(*rh)); dup->file = switch_core_session_strdup(session, rh->file); + dup->fh = switch_core_session_alloc(session, sizeof(switch_file_handle_t)); + memcpy(dup->fh, rh->fh, sizeof(switch_file_handle_t)); return dup; }