summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 7da0186..c48686b 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -288,7 +288,6 @@ struct Lock *device_unlock(struct Lock *lock)
{
if (lock) {
close(lock->fd);
- unlink(lock->path);
free(lock->path);
free(lock);
}