Handle deallocations in the same module as allocated