From: Anthony Minessale Date: Fri, 19 Jun 2015 23:03:51 +0000 (-0500) Subject: FS-7696 #resolve X-Git-Tag: v1.6.2~415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f953514b415175cabbd8c92441501c3e5d5090fe;p=thirdparty%2Ffreeswitch.git FS-7696 #resolve --- diff --git a/src/mod/formats/mod_local_stream/mod_local_stream.c b/src/mod/formats/mod_local_stream/mod_local_stream.c index 749fd522dc..2a5f89532a 100644 --- a/src/mod/formats/mod_local_stream/mod_local_stream.c +++ b/src/mod/formats/mod_local_stream/mod_local_stream.c @@ -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); } }