Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -503,6 +503,10 @@ static void dnn_free_model_ov(DNNModel **model) · 502 unmodified lines | |||
| 503 | } | 503 | } |
| 504 | ff_queue_destroy(ov_model->task_queue); | 504 | ff_queue_destroy(ov_model->task_queue); |
| 505 | #if HAVE_OPENVINO2 | 505 | #if HAVE_OPENVINO2 |
| 506 | if (ov_model->input_port) | ||
| 507 | ov_output_const_port_free(ov_model->input_port); | ||
| 508 | if (ov_model->output_port) | ||
| 509 | ov_output_const_port_free(ov_model->output_port); | ||
| 506 | if (ov_model->preprocess) | 510 | if (ov_model->preprocess) |
| 507 | ov_preprocess_prepostprocessor_free(ov_model->preprocess); | 511 | ov_preprocess_prepostprocessor_free(ov_model->preprocess); |
| 508 | if (ov_model->compiled_model) | 512 | if (ov_model->compiled_model) |