in free, check if ptr is in the dummy buffer, and if so use dummy_free instead of the libc free func