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@tencent.com>
Reviewed-by: Wenbin Chen <wenbin.chen@intel.com>
Reviewed-by: Guo Yejun <yejun.guo@intel.com>
This commit is contained in:
Zhao Zhili 2024-05-08 00:08:14 +08:00 committed by Guo Yejun
parent d3db7bbc03
commit a40df366c4
1 changed files with 1 additions and 1 deletions

View File

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