diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2022-07-27 00:32:51 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2022-08-03 17:52:25 +0800 |
commit | 30aa0c3f4873a92c5e3da8ba8cf030de56bf4cf7 (patch) | |
tree | d4805af7c4c8cf876f3df9bef35603e5c41bd2b8 /libavdevice/v4l2.c | |
parent | ad67ea9eeed2cc8edab8662b7503ce4a49247b1d (diff) | |
download | ffmpeg-30aa0c3f4873a92c5e3da8ba8cf030de56bf4cf7.tar.gz |
avdevice/v4l2: fix leak of timefilter
Fixes ticket #9844.
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'libavdevice/v4l2.c')
-rw-r--r-- | libavdevice/v4l2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index 5340382d57..be422d7c8c 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -1011,6 +1011,7 @@ static int v4l2_read_close(AVFormatContext *ctx) mmap_close(s); + ff_timefilter_destroy(s->timefilter); v4l2_close(s->fd); return 0; } |