forked from enlightenment/enlightenment
xwayland - handle negative return failure for abs socket create
fix CID 1403929
This commit is contained in:
parent
96ae312d6e
commit
3a581f888d
|
@ -397,7 +397,7 @@ xwl_init(void *d EINA_UNUSED)
|
|||
if (exs->unx_fd < 0)
|
||||
{
|
||||
unlink(exs->lock);
|
||||
close(exs->abs_fd);
|
||||
if (exs->abs_fd >= 0) close(exs->abs_fd);
|
||||
free(exs);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue