Hi,
I am allocating memory in the Heap.
pV = HeapAlloc(Mem, 0, ulSize);
I am freeing the memory using HeapFree function.
HeapFree(SesMem, 0, pV);
But the problem is when i tried to the free of the same memory again
HeapFree(SesMem, 0, pV);,
i am getting a Memory Leak. Is there a way to find that this heap has been freed already.
i.e when i try to free the heap memory that is freed already, i shold be in a able to find that this heap memory has been freed already and free should not be done now.
Thanks in Advance,
Varadha
