Convert from Box into/from raw to pointer ref-deref to fix free issue

This commit is contained in:
Brandon Fish
2019-02-18 23:30:08 -06:00
parent 2ed6e82354
commit 380d766943
2 changed files with 20 additions and 34 deletions

View File

@ -85,7 +85,7 @@ int main()
printf("Destroying func\n");
// wasmer_func_destroy(func);
// printf("Destroy instance\n");
// wasmer_instance_destroy(instance);
printf("Destroy instance\n");
wasmer_instance_destroy(instance);
return 0;
}