]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix obvious seg in setting a record file name to every participant and not checking...
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 7 Oct 2014 17:48:53 +0000 (12:48 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 7 Oct 2014 17:48:58 +0000 (12:48 -0500)
src/mod/applications/mod_conference/mod_conference.c

index a14956f12029e17481203f64cb69802248f33d9d..d0e68a521141938c330fb583a56a38bbb4aff035 100644 (file)
@@ -3183,6 +3183,7 @@ static void *SWITCH_THREAD_FUNC conference_thread_run(switch_thread_t *thread, v
                                }
                                /* Set the conference recording variable for each member */
                                for (omember = conference->members; omember; omember = omember->next) {
+                                       if (!omember->session) continue;
                                        channel = switch_core_session_get_channel(omember->session);
                                        switch_channel_set_variable(channel, "conference_recording", conference->record_filename);
                                }