mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-24 14:11: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);
|
||||
printf("Destroy instance\n");
|
||||
wasmer_instance_destroy(instance);
|
||||
free(context_data);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user