diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -738,9 +738,11 @@ leave: } free(device_use_list); device_use_list = newlist; + device_use_count--; } else { free(device_use_list); device_use_list = NULL; + device_use_count = 0; } pthread_mutex_unlock(&usbmux_mutex); } |