]> 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:09:56 +0000 (15:09 -0500)
src/mod/applications/mod_conference/conference_video.c

index fb77b671aaf02960b16d7407cdc1a95435e58b37..a20e942a615978a1469bd316e3e8239c4cf796aa 100644 (file)
@@ -3456,6 +3456,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) {