free(data_point); free(host_output); free(index_arr); free(array_dist);
host/src/host.cpp:380:21: warning: attempt to free a non-heap object ‘data_point’ [-Wfree-nonheap-object] free(data_point); ^ host/src/host.cpp:381:22: warning: attempt to free a non-heap object ‘host_output’ [-Wfree-nonheap-object] free(host_output); ^ host/src/host.cpp:382:20: warning: attempt to free a non-heap object ‘index_arr’ [-Wfree-nonheap-object] free(index_arr); ^ host/src/host.cpp:383:21: warning: attempt to free a non-heap object ‘array_dist’ [-Wfree-nonheap-object] free(array_dist);
free
malloc
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)