diff --git a/samples/sample_x86.c b/samples/sample_x86.c index 1028504f..1b7ed33f 100644 --- a/samples/sample_x86.c +++ b/samples/sample_x86.c @@ -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;