Fix two cases of using the wrong delete.

The only real positives found with Clang's static analyzer! All the others were false positives where CHECK or LOG(FATAL) was involved, but they are not annotated to indicate that they do not return.

Pretty nice!