Commit a3ed7abc7b0361477d2d9a2b1ba8ca7a183bbc22

Con Kolivas 2013-12-07T14:56:39

Unlink files opened as semaphores on releasing them.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/usbutils.c b/usbutils.c
index 9aedc42..c54c921 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -3560,6 +3560,7 @@ fila:
 	free(sem);
 	free(key);
 	remove_in_use(bus_number, device_address);
+	unlink(name);
 	return;
 #endif
 }