]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10472: [mod_conference] Crash due to hangup race in conference personal canvas...
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Jul 2017 20:15:19 +0000 (15:15 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 14 Jul 2017 20:15:19 +0000 (15:15 -0500)
src/mod/applications/mod_conference/conference_video.c

index d13b686493538776f67c20e63fac127b808b319a..262469dd9bf74ce702ca6b24732d6236f62ab617 100644 (file)
@@ -3680,6 +3680,10 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
                                                conference_video_scale_and_patch(layer, img, SWITCH_FALSE);
                                        }
                                }
+
+                               if (imember->session) {
+                                       switch_core_session_rwunlock(imember->session);
+                               }
                        }
 
                        for (j = 0; j < file_count; j++) {