mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-06 23:14:04 +00:00
rename uc_context_free() to uc_mem_free(). see #373
This commit is contained in:
parent
af165d254c
commit
fdbbdc6216
11 changed files with 27 additions and 25 deletions
|
|
@ -746,7 +746,7 @@ JNIEXPORT jlong JNICALL Java_unicorn_Unicorn_context_1alloc
|
|||
*/
|
||||
JNIEXPORT void JNICALL Java_unicorn_Unicorn_context_1free
|
||||
(JNIEnv *env, jobject self, jlong ctx) {
|
||||
uc_err err = uc_context_free((uc_context*)ctx);
|
||||
uc_err err = uc_mem_free((void *)ctx);
|
||||
if (err != UC_ERR_OK) {
|
||||
throwException(env, err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue