summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-06 19:05:36 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2019-08-06 19:05:36 +0100
commit3a581f888d98853c4a46011f045285c1ce485907 (patch)
treea471defc5ccec57fc6fe2f49f3147f8b69acd27f /src/modules
parent96ae312d6e6dd2422181b5a8141d97ab9e3e4e13 (diff)
xwayland - handle negative return failure for abs socket create
fix CID 1403929
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/xwayland/e_mod_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c
index 5366637..4b9b76d 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)
397 if (exs->unx_fd < 0) 397 if (exs->unx_fd < 0)
398 { 398 {
399 unlink(exs->lock); 399 unlink(exs->lock);
400 close(exs->abs_fd); 400 if (exs->abs_fd >= 0) close(exs->abs_fd);
401 free(exs); 401 free(exs);
402 return EINA_FALSE; 402 return EINA_FALSE;
403 } 403 }