Clear new memory before returning it.