[FFmpeg-cvslog] avfilter/dnn_backend_tf: Fix free context at random place
Zhao Zhili
git at videolan.org
Thu May 30 16:14:18 EEST 2024
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Wed May 8 00:08:14 2024 +0800| [a40df366c4775ed03bcec96e09d0053791c258de] | committer: Guo Yejun
avfilter/dnn_backend_tf: Fix free context at random place
It will be freed again by ff_dnn_uninit.
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
Reviewed-by: Wenbin Chen <wenbin.chen at intel.com>
Reviewed-by: Guo Yejun <yejun.guo at intel.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a40df366c4775ed03bcec96e09d0053791c258de
---
libavfilter/dnn/dnn_backend_tf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c
index eb4a2a5289..8b53a3b87a 100644
--- a/libavfilter/dnn/dnn_backend_tf.c
+++ b/libavfilter/dnn/dnn_backend_tf.c
@@ -804,7 +804,7 @@ err:
if (ff_safe_queue_push_back(tf_model->request_queue, request) < 0) {
destroy_request_item(&request);
}
- dnn_free_model_tf(&tf_model->model);
+
return ret;
}
More information about the ffmpeg-cvslog
mailing list