diff options
author | Dale Curtis <dalecurtis@chromium.org> | 2012-04-12 17:56:57 -0700 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2012-04-14 19:41:52 -0700 |
commit | 4ebd422c04849a21a6bb2128a715979e8067e6a6 (patch) | |
tree | 22c44fda727ce3f350ef4257fe25ce7adfcd69d5 /libavformat/vocenc.c | |
parent | 7f77e9041a79fd05ed872ff9eeb06f109d30acb7 (diff) | |
download | ffmpeg-4ebd422c04849a21a6bb2128a715979e8067e6a6.tar.gz |
mov: fix leaking memory with multiple drefs.
Instead of allocating over the original, free first. MOVStreamContext
is zero initialized so no double free will occur. Same style as other
fixes for the same problem in this file.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/vocenc.c')
0 files changed, 0 insertions, 0 deletions