This commit is contained in:
liyansong2018
2022-04-11 15:48:11 +08:00
parent a28d1dfbed
commit 9985974998

2
uc.c
View File

@@ -388,7 +388,7 @@ uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result)
} }
if (uc->init_arch == NULL) { if (uc->init_arch == NULL) {
*result = uc; free(uc);
return UC_ERR_ARCH; return UC_ERR_ARCH;
} }