From: Antonio Date: Thu, 23 Mar 2017 16:08:53 +0000 (+0100) Subject: FS-10174 [mod_conference] fix segfault after playing alone-sound when video is not... X-Git-Tag: v1.8.0~682^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd4b835c4c32b0e1c6f31e618ed1804f7e53886a;p=thirdparty%2Ffreeswitch.git FS-10174 [mod_conference] fix segfault after playing alone-sound when video is not enabled --- diff --git a/src/mod/applications/mod_conference/conference_file.c b/src/mod/applications/mod_conference/conference_file.c index 5ed2851fd5..bdbfc35a8e 100644 --- a/src/mod/applications/mod_conference/conference_file.c +++ b/src/mod/applications/mod_conference/conference_file.c @@ -93,7 +93,7 @@ switch_status_t conference_file_close(conference_obj_t *conference, conference_f } #endif - if (node->canvas_id > -1) { + if (node->canvas_id > -1 && conference->canvases[node->canvas_id]) { canvas = conference->canvases[node->canvas_id]; if (canvas->playing_video_file) {