Remove orphaned memory allocation.