galaxy requested changes

This commit is contained in:
Nick Chan committed 2023-02-03 13:22:07 +08:00
1 parent 23b76ec6d7
commit 4692a33dc0
6 files changed
+48 -17

No files matched your search

+2 -1
View File
@@ -116,7 +116,7 @@ int palera1n(int argc, char *argv[]) {
set_spin(0);
if (dfuhelper_only || device_has_booted)
goto normal_exit;
exec_checkra1n();
if (exec_checkra1n()) goto cleanup;
if (pongo_exit || demote)
goto normal_exit;
set_spin(1);
@@ -162,6 +162,7 @@ cleanup:
munmap(override_overlay.ptr, (size_t)override_overlay.len);
close(override_overlay.fd);
}
if (ext_checkra1n != NULL) free(ext_checkra1n);
pthread_mutex_destroy(&log_mutex);
pthread_mutex_destroy(&spin_mutex);
pthread_mutex_destroy(&found_pongo_mutex);