]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7696 #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Jun 2015 23:03:51 +0000 (18:03 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 19 Jun 2015 23:03:51 +0000 (18:03 -0500)
src/mod/formats/mod_local_stream/mod_local_stream.c

index 749fd522dc0a264f0627b745af82cf722977dc6b..2a5f89532a2a201b7ca406f42c7c2dd212b8bb97 100644 (file)
@@ -372,6 +372,7 @@ static void *SWITCH_THREAD_FUNC read_stream_thread(switch_thread_t *thread, void
                                                                if (source->total) {
                                                                        switch_queue_push(source->video_q, vid_frame.img);
                                                                } else {
+                                                                       switch_img_free(&vid_frame.img);
                                                                        flush_video_queue(source->video_q);
                                                                }
                                                        }