Skip to content

Commit

Permalink
Fix putting freed PMC back to Pointer_Array
Browse files Browse the repository at this point in the history
  • Loading branch information
bacek committed Nov 17, 2010
1 parent 525f058 commit 36be44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/gc_ms2.c
Expand Up @@ -1153,7 +1153,7 @@ gc_ms2_sweep_pmc_pool(PARROT_INTERP,
PObj_live_CLEAR(pmc);

else if (!PObj_constant_TEST(pmc)) {
Parrot_pa_remove(interp, list, ptr);
Parrot_pa_remove(interp, list, PMC2PAC(pmc)->ptr);

Parrot_pmc_destroy(interp, pmc);
PObj_on_free_list_SET(pmc);
Expand Down

0 comments on commit 36be44a

Please sign in to comment.