summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libusbmuxd/libusbmuxd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libusbmuxd/libusbmuxd.c b/libusbmuxd/libusbmuxd.c
index 0623b90..bb5f1f0 100644
--- a/libusbmuxd/libusbmuxd.c
+++ b/libusbmuxd/libusbmuxd.c
@@ -618,7 +618,7 @@ static void *device_monitor(void *data)
#ifndef WIN32
pthread_cleanup_pop(1);
#else
- device_monitor_cleanup();
+ device_monitor_cleanup(NULL);
#endif
return NULL;
}