diff options
author | Shubhanshu Saxena <shubhanshu.e01@gmail.com> | 2021-07-11 21:45:01 +0530 |
---|---|---|
committer | Guo Yejun <yejun.guo@intel.com> | 2021-07-22 08:13:14 +0800 |
commit | 429954822cd8a74f3ab73f4abe870cf8ef53389b (patch) | |
tree | aaf2bf7d3451843be5bd5c62113a0d78d72f22d9 /libavcodec/hq_hqadsp.h | |
parent | c866a099b297203306165be3c444d481fcb22553 (diff) | |
download | ffmpeg-429954822cd8a74f3ab73f4abe870cf8ef53389b.tar.gz |
lavfi/dnn_backend_openvino.c: Fix Memory Leak in execute_model_ov
In cases where the execution inside the function execute_model_ov fails,
the OVRequestItem must be pushed back to the request_queue before returning
the error. In case pushing back fails, release the allocated memory.
Signed-off-by: Shubhanshu Saxena <shubhanshu.e01@gmail.com>
Diffstat (limited to 'libavcodec/hq_hqadsp.h')
0 files changed, 0 insertions, 0 deletions