Calling free()
on a block of dynamic memory informs the heap manager that the memory should be deallocated and made available for future allocations. However, the data stored in the block of memory to be recycled may be preserved. If this memory block contains sensitive information, such as passwords, that information may be unintentionally exposed. This phenomenon is referred to as Heap inspection ref