It will be freed again by ff_dnn_uninit.
Showing the changes to libavfilter/dnn (1 of 1 file). Show all
Unified · Split
| @@ -804,7 +804,7 @@ err: · 803 unmodified lines | ||
| 804 | 804 | if (ff_safe_queue_push_back(tf_model->request_queue, request) < 0) { |
| 805 | 805 | destroy_request_item(&request); |
| 806 | 806 | } |
| 807 | − dnn_free_model_tf(&tf_model->model); | |
| 807 | + | |
| 808 | 808 | return ret; |
| 809 | 809 | } |
| 810 | 810 | |