Skip to content

Commit

Permalink
Properly destroy more PMCs at the end of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed May 9, 2011
1 parent 504e86f commit 3d00eba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions t/src/extend_vtable.t
Expand Up @@ -129,10 +129,15 @@ void dotest(Parrot_Interp interp, void *unused)
$code
/* TODO: Properly test this */
/* TODO: Shouldn't we also be destroying all the other PMCs ? */
Parrot_PMC_destroy(interp, pmc);
Parrot_PMC_destroy(interp, pmc_string);
Parrot_PMC_destroy(interp, pmc_string2);
Parrot_PMC_destroy(interp, pmc_string3);
Parrot_PMC_destroy(interp, pmc_float);
Parrot_PMC_destroy(interp, pmc_float2);
/* TODO: Shouldn't we also be destroying all the other PMCs ? */
/* TODO: Properly test this */
Parrot_destroy(interp);
printf("Done!\\n");
}
Expand Down

0 comments on commit 3d00eba

Please sign in to comment.