mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-29 13:28:13 +00:00
Add missing return on file_handler failure
Mistake introduced by 84334cf7db68732eb92caf6cf9682c7ef2c426f6.
This commit is contained in:
parent
007f616302
commit
73e0311d14
@ -37,6 +37,7 @@ file_handler_init(struct file_handler *file_handler, const char *serial,
|
|||||||
LOGE("Could not create intr");
|
LOGE("Could not create intr");
|
||||||
sc_cond_destroy(&file_handler->event_cond);
|
sc_cond_destroy(&file_handler->event_cond);
|
||||||
sc_mutex_destroy(&file_handler->mutex);
|
sc_mutex_destroy(&file_handler->mutex);
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
file_handler->serial = strdup(serial);
|
file_handler->serial = strdup(serial);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user