samples: make sample_x86.c to use uc_context_free() to free context (instead of uc_free())
This commit is contained in:
parent
1044403d38
commit
95e539f3e6
@ -737,7 +737,7 @@ static void test_i386_context_save(void)
|
|||||||
printf(">>> EAX = 0x%x\n", r_eax);
|
printf(">>> EAX = 0x%x\n", r_eax);
|
||||||
|
|
||||||
// free the CPU context
|
// free the CPU context
|
||||||
err = uc_free(context);
|
err = uc_context_free(context);
|
||||||
if (err) {
|
if (err) {
|
||||||
printf("Failed on uc_free() with error returned: %u\n", err);
|
printf("Failed on uc_free() with error returned: %u\n", err);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user