]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10132: [mod_conference] Memory leak playing video files in personal-canvas mode...
authorAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Mar 2017 20:09:32 +0000 (15:09 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Mon, 13 Mar 2017 20:10:07 +0000 (15:10 -0500)
src/mod/applications/mod_conference/conference_video.c

index 438bcebcb8d65956ff115c30dda47dcef14c852d..40fa473075569b7e86b515e7629ab84e43977544 100644 (file)
@@ -2959,6 +2959,8 @@ void *SWITCH_THREAD_FUNC conference_video_muxing_thread_run(switch_thread_t *thr
                                                layer = &imember->canvas->layers[i++];
                                                conference_video_scale_and_patch(layer, img, SWITCH_FALSE);
                                        }
+
+                                       switch_img_free(&img);
                                }
                                
                                if (imember->session) {