Free lockfile path

Signed-off-by: David Redondo <kde@david-redondo.de>
This commit is contained in:
David Redondo 2021-12-03 12:33:10 +01:00 committed by Peter Hutterer
parent 30d154b0d8
commit befbf2005c

View file

@ -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);