[vlc-commits] demux/image: fix mem leak
Thomas Guillem
git at videolan.org
Thu Jan 28 16:34:10 CET 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Jan 28 16:33:50 2016 +0100| [7a1b67180b162e24844af4bf926b480a1ed5183c] | committer: Thomas Guillem
demux/image: fix mem leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7a1b67180b162e24844af4bf926b480a1ed5183c
---
modules/demux/image.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/image.c b/modules/demux/image.c
index 43c4847..1b5cdd2 100644
--- a/modules/demux/image.c
+++ b/modules/demux/image.c
@@ -647,6 +647,7 @@ static int Open(vlc_object_t *object)
vlc_fourcc_t chroma = vlc_fourcc_GetCodecFromString(VIDEO_ES, string);
free(string);
+ block_Release(data);
data = Decode(demux, &fmt.video, chroma, data);
fmt.i_codec = fmt.video.i_chroma;
}
More information about the vlc-commits
mailing list