[FFmpeg-cvslog] avdevice/v4l2: fix leak of timefilter
Zhao Zhili
git at videolan.org
Wed Aug 3 13:04:21 EEST 2022
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Wed Jul 27 00:32:51 2022 +0800| [30aa0c3f4873a92c5e3da8ba8cf030de56bf4cf7] | committer: Zhao Zhili
avdevice/v4l2: fix leak of timefilter
Fixes ticket #9844.
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=30aa0c3f4873a92c5e3da8ba8cf030de56bf4cf7
---
libavdevice/v4l2.c | 1 +
1 file changed, 1 insertion(+)
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;
}
More information about the ffmpeg-cvslog
mailing list