mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2025-12-28 09:40:07 +01:00
Free lockfile path
Signed-off-by: David Redondo <kde@david-redondo.de>
This commit is contained in:
parent
30d154b0d8
commit
befbf2005c
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ eis_socket_destroy(struct eis_socket *socket)
|
|||
if (socket->lockpath) {
|
||||
unlink(socket->lockpath);
|
||||
xclose(socket->lockfd);
|
||||
free(socket->lockpath);
|
||||
}
|
||||
if (socket->socketpath) {
|
||||
unlink(socket->socketpath);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue