R
Ralph
Hi all,
I have initialises an array and use it. After using it, I wanted to
free the array and it return me an error... may I know what is the main
cause?
eg:
float *a;
a = (float*)malloc(sizeof(float)*M);
..... codes ....
free(a); <--- cause an error...
I have initialises an array and use it. After using it, I wanted to
free the array and it return me an error... may I know what is the main
cause?
eg:
float *a;
a = (float*)malloc(sizeof(float)*M);
..... codes ....
free(a); <--- cause an error...