commit | 197214112c054038c956e7ce73602a8e1edbe798 | [log] [tgz] |
---|---|---|
author | Martin Olsson <martin@minimum.se> | Sun Jul 08 03:03:45 2012 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Jul 09 17:50:45 2012 -0400 |
tree | 7fcefdde7966db6aa7c43620e7869385c049e723 | |
parent | 11434bb2ea35783b89f929235e8803c9b9d44344 [diff] |
xwayland: Don't leak fd while reading lock file in src/xwayland/launcher.c
diff --git a/src/xwayland/launcher.c b/src/xwayland/launcher.c index 0184c08..035c8e3 100644 --- a/src/xwayland/launcher.c +++ b/src/xwayland/launcher.c
@@ -274,6 +274,7 @@ return -1; } + close(fd); errno = EEXIST; return -1; } else if (fd < 0) {