aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-06-08 22:14:18 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-08 22:15:28 +0200
commit402b18afcc51b091cf813e3ccaed858d165a7338 (patch)
tree68c712312b9cfa2a61773f11be23aad52484472e
parent83e3516e64dcc1581ae7503be3aaca6a34be7194 (diff)
parentcaf7be30b11288c498fae67be4741bfbf083d977 (diff)
downloadffmpeg-402b18afcc51b091cf813e3ccaed858d165a7338.tar.gz
Merge commit 'caf7be30b11288c498fae67be4741bfbf083d977'
* commit 'caf7be30b11288c498fae67be4741bfbf083d977': mpjpgdec: free AVIOContext leak on early probe fail Conflicts: libavformat/mpjpegdec.c See: 34d278f9838e355b3b2c7a9c0f77d7fcaf37ce49, this was mistakenly reimplemented, also see ffmpeg IRC log of today Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/mpjpegdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpjpegdec.c b/libavformat/mpjpegdec.c
index 7075c83886..56fe159915 100644
--- a/libavformat/mpjpegdec.c
+++ b/libavformat/mpjpegdec.c
@@ -101,8 +101,8 @@ static int mpjpeg_read_probe(AVProbeData *p)
break;
}
}
-
end:
+
av_free(pb);
return ret;