Fix some mismatched free / delete.