History

lavfi/dnn_backend_openvino.c: Correct Pointer Type while Freeing

This commit corrects the type of pointer of elements from the inference queue in ff_dnn_free_model_ov.

Shubhanshu Saxena committed 5 years ago

Commit e41255c1 parent 8205f321 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/dnn/dnn_backend_openvino.c+1−1
@@ -963,7 +963,7 @@ void ff_dnn_free_model_ov(DNNModel **model) · 962 unmodified lines
963 ff_safe_queue_destroy(ov_model->request_queue);963 ff_safe_queue_destroy(ov_model->request_queue);
964 964
965 while (ff_queue_size(ov_model->inference_queue) != 0) {965 while (ff_queue_size(ov_model->inference_queue) != 0) {
966 TaskItem *item = ff_queue_pop_front(ov_model->inference_queue);966 InferenceItem *item = ff_queue_pop_front(ov_model->inference_queue);
967 av_freep(&item);967 av_freep(&item);
968 }968 }
969 ff_queue_destroy(ov_model->inference_queue);969 ff_queue_destroy(ov_model->inference_queue);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t