Skip to content
Snippets Groups Projects
Commit ceb6535f authored by Jorge Ramirez-Ortiz's avatar Jorge Ramirez-Ortiz
Browse files

apps_user: the domain wont be in use until opened


do not mark the domain as in used if it cant be retrieved.

Signed-off-by: default avatarJorge Ramirez-Ortiz <jorge.ramirez-ortiz@linaro.org>
parent 5c7a986c
No related branches found
No related tags found
No related merge requests found
...@@ -908,8 +908,8 @@ int remote_handle64_open(const char* name, remote_handle64 *ph) ...@@ -908,8 +908,8 @@ int remote_handle64_open(const char* name, remote_handle64 *ph)
domain = get_domain_from_name(name); domain = get_domain_from_name(name);
VERIFYC(domain >= 0, AEE_EINVALIDDOMAIN); VERIFYC(domain >= 0, AEE_EINVALIDDOMAIN);
VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once()));
hlist[domain].domainsupport = 1;
VERIFY(AEE_SUCCESS == (nErr = remote_handle_open_domain(domain, name, &h))); VERIFY(AEE_SUCCESS == (nErr = remote_handle_open_domain(domain, name, &h)));
hlist[domain].domainsupport = 1;
VERIFY(AEE_SUCCESS == (nErr = alloc_handle(domain, h, &hinfo))); VERIFY(AEE_SUCCESS == (nErr = alloc_handle(domain, h, &hinfo)));
*ph = hinfo->local; *ph = hinfo->local;
bail: bail:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment