I use this code :
Code: Select all
print "Bebore:" & fre(0)
Results = MyInstance.MyCfunction(blabla)
print "After:" & fre(0)
Code: Select all
void MyCfunction(blabla){
int * value;
value = malloc(123); // "123" Is an example
free(value);
printf("Finish!");
}
Bebore:1118208
Finish!
After:1380352 (The memory number is not exact, it's an example)
Why fre(0) do not refresh memory correctly?
You have another method?
Regards