1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avdevice/v4l2: fix leak of timefilter

Fixes ticket #9844.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
Zhao Zhili 2022-07-27 00:32:51 +08:00
parent ad67ea9eee
commit 30aa0c3f48

View File

@ -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;
}