Commit d3d90e65fa86483de0c9a21004230f42eb972647

Kano 2013-04-29T00:24:46

usbutils remove_in_use break

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/usbutils.c b/usbutils.c
index 888e424..102f405 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -888,6 +888,7 @@ static void remove_in_use(uint8_t bus_number, uint8_t device_address)
 					in_use_tmp->next->prev = in_use_tmp->prev;
 			}
 			free(in_use_tmp);
+			break;
 		}
 		in_use_tmp = in_use_tmp->next;
 	}