Skip to content

Commit

Permalink
catch another instance of PObj_active_destroy_SET noticed by quester++
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 23, 2010
1 parent 2c4f69b commit 4071ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pmc/objectref_pmc.template
Expand Up @@ -31,7 +31,7 @@ pmclass ObjectRef need_ext dynpmc group perl6_group {
VTABLE void init_pmc(PMC *value) {
/* Need custom mark and destroy. */
PObj_custom_mark_SET(SELF);
PObj_active_destroy_SET(SELF);
PObj_custom_destroy_SET(SELF);

/* Create underlying structure. */
PMC_data(SELF) = mem_allocate_zeroed_typed(Parrot_ObjectRef_attributes);
Expand Down

0 comments on commit 4071ac3

Please sign in to comment.