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)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Sun, 19 Apr 2015 10:41:22 +0000 (13:41 +0300)
commitc259590b26828374c70e5f52adffc3607144eddc
treee2fcf3b4c3a0348f187cdc06d8275602f1cef601
parent3f3ca85103babb6ea283827c993fb419872f7545
Fix a memory leak in CvCapture_FFMPEG::close

FFmpeg now requires that frames allocated with avcodec_alloc_frame are
freed with avcodec_free_frame.

(cherry picked from commit 77578d415f4d2b22a4ee1989ef0afda73c9d649b)
modules/highgui/src/cap_ffmpeg_impl.hpp