]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5208 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 15 May 2013 12:36:56 +0000 (07:36 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 15 May 2013 12:37:12 +0000 (07:37 -0500)
src/switch_ivr_async.c

index a9e86c9c650f9e434d19067b76bfb1273f17cc67..2d438638260f4b8000bf017690ef1ee73b37ade4 100644 (file)
@@ -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;
 }