mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-08-03 14:49:29 +00:00
fix installer free
This commit is contained in:
parent
d4f1de504f
commit
3722c4ddfc
1 changed files with 1 additions and 1 deletions
|
@ -81,6 +81,7 @@ void installer_destroy(struct installer *installer) {
|
||||||
SDL_DestroyCond(installer->event_cond);
|
SDL_DestroyCond(installer->event_cond);
|
||||||
SDL_DestroyMutex(installer->mutex);
|
SDL_DestroyMutex(installer->mutex);
|
||||||
apk_queue_destroy(&installer->queue);
|
apk_queue_destroy(&installer->queue);
|
||||||
|
SDL_free((void *) installer->serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
SDL_bool installer_push_apk(struct installer *installer, const char* apk) {
|
SDL_bool installer_push_apk(struct installer *installer, const char* apk) {
|
||||||
|
@ -121,7 +122,6 @@ static int run_installer(void *data) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end:
|
|
||||||
mutex_unlock(installer->mutex);
|
mutex_unlock(installer->mutex);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue