Message ID | 54347E5A035A054EAE9D05927FB467F972E0C903@ORSMSX101.amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/dat/udat/udat.c b/dat/udat/udat.c index 03edcf9..842b36c 100755 --- a/dat/udat/udat.c +++ b/dat/udat/udat.c @@ -210,6 +210,12 @@ dat_ia_openv(IN const DAT_NAME_PTR name, async_event_handle, ia_handle); if (dat_status == DAT_SUCCESS) { *ia_handle = (DAT_IA_HANDLE) dats_set_ia_handle(*ia_handle); + } else { + (void)dat_dr_provider_close(&info); +#ifndef DAT_NO_STATIC_REGISTRY + (void)dat_sr_provider_close(&info); +#endif + return dat_status; } /*
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com> --- dat/udat/udat.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) -- 1.7.3