Commit 055bbeb0 authored by Thomas Guillem's avatar Thomas Guillem

Revert "demux/image: fix mem leak"

Finally, the leak is not here.
This reverts commit 7a1b6718.
parent 7a1b6718
...@@ -647,7 +647,6 @@ static int Open(vlc_object_t *object) ...@@ -647,7 +647,6 @@ static int Open(vlc_object_t *object)
vlc_fourcc_t chroma = vlc_fourcc_GetCodecFromString(VIDEO_ES, string); vlc_fourcc_t chroma = vlc_fourcc_GetCodecFromString(VIDEO_ES, string);
free(string); free(string);
block_Release(data);
data = Decode(demux, &fmt.video, chroma, data); data = Decode(demux, &fmt.video, chroma, data);
fmt.i_codec = fmt.video.i_chroma; fmt.i_codec = fmt.video.i_chroma;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment