Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1587 from liyansong2018/dev
Fix #1586
  • Loading branch information
wtdcode committed Apr 11, 2022
2 parents e3d0a33 + 9985974 commit 469fc4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uc.c
Expand Up @@ -388,6 +388,7 @@ uc_err uc_open(uc_arch arch, uc_mode mode, uc_engine **result)
}

if (uc->init_arch == NULL) {
free(uc);
return UC_ERR_ARCH;
}

Expand Down

0 comments on commit 469fc4c

Please sign in to comment.