xwayland: Don't leak fd while reading lock file in src/xwayland/launcher.c

dev
Martin Olsson 13 years ago committed by Kristian Høgsberg
parent 11434bb2ea
commit 197214112c
  1. 1
      src/xwayland/launcher.c

@ -274,6 +274,7 @@ create_lockfile(int display, char *lockfile, size_t lsize)
return -1;
}
close(fd);
errno = EEXIST;
return -1;
} else if (fd < 0) {

Loading…
Cancel
Save