From bd4b835c4c32b0e1c6f31e618ed1804f7e53886a Mon Sep 17 00:00:00 2001 From: Antonio Date: Thu, 23 Mar 2017 17:08:53 +0100 Subject: [PATCH] FS-10174 [mod_conference] fix segfault after playing alone-sound when video is not enabled --- src/mod/applications/mod_conference/conference_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {