samples: make sample_x86.c to use uc_context_free() to free context (instead of uc_free())

This commit is contained in:
Nguyen Anh Quynh 2020-09-24 22:37:01 +08:00
parent 1044403d38
commit 95e539f3e6

View File

@ -737,7 +737,7 @@ static void test_i386_context_save(void)
printf(">>> EAX = 0x%x\n", r_eax);
// free the CPU context
err = uc_free(context);
err = uc_context_free(context);
if (err) {
printf("Failed on uc_free() with error returned: %u\n", err);
return;