1
1

Avoid double-release in error path

This commit was SVN r28190.
Этот коммит содержится в:
Ralph Castain 2013-03-20 21:00:59 +00:00
родитель e092cc34e0
Коммит fa13d27238

Просмотреть файл

@ -261,7 +261,6 @@ static void open_local_file(orte_dfs_request_t *dfs)
if (NULL != dfs->open_cbfunc) {
dfs->open_cbfunc(-1, dfs->cbdata);
}
OBJ_RELEASE(dfs);
return;
}
opal_output_verbose(1, orte_dfs_base.output,
@ -274,7 +273,6 @@ static void open_local_file(orte_dfs_request_t *dfs)
if (NULL != dfs->open_cbfunc) {
dfs->open_cbfunc(dfs->remote_fd, dfs->cbdata);
}
OBJ_RELEASE(dfs);
return;
}
/* otherwise, create a tracker for this file */