raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=3a581f888d98853c4a46011f045285c1ce485907

commit 3a581f888d98853c4a46011f045285c1ce485907
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Tue Aug 6 19:05:36 2019 +0100

    xwayland - handle negative return failure for abs socket create
    
    fix CID 1403929
---
 src/modules/xwayland/e_mod_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/modules/xwayland/e_mod_main.c 
b/src/modules/xwayland/e_mod_main.c
index 5366637e1..4b9b76d71 100644
--- a/src/modules/xwayland/e_mod_main.c
+++ b/src/modules/xwayland/e_mod_main.c
@@ -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;
           }

-- 


Reply via email to