Fix a memory leak in CvCapture_FFMPEG::close
authorRoman Donchenko <roman.donchenko@itseez.com>
Fri, 13 Feb 2015 12:12:52 +0000 (15:12 +0300)
committerRoman Donchenko <roman.donchenko@itseez.com>
Fri, 13 Feb 2015 12:12:52 +0000 (15:12 +0300)
commit77578d415f4d2b22a4ee1989ef0afda73c9d649b
treef81935993b05d7ace855f7bb6ee5fc3d59a06dd0
parent9a62173a5b6b2b1b1295d0d20c94b594ed9bfba4
Fix a memory leak in CvCapture_FFMPEG::close

FFmpeg now requires that frames allocated with avcodec_alloc_frame are
freed with avcodec_free_frame.
modules/highgui/src/cap_ffmpeg_impl.hpp