Bug 879299: Assign null instead of using `delete`