mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 22:51:32 +00:00
test(runtime-c-api) Free allocations.
Don't forget to free `context_data` :-).
This commit is contained in:
@ -100,5 +100,6 @@ int main()
|
|||||||
wasmer_import_func_destroy(func);
|
wasmer_import_func_destroy(func);
|
||||||
printf("Destroy instance\n");
|
printf("Destroy instance\n");
|
||||||
wasmer_instance_destroy(instance);
|
wasmer_instance_destroy(instance);
|
||||||
|
free(context_data);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user