Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix an issue in the P6str repr spotted by sorear++.
  • Loading branch information
jnthn committed Feb 12, 2011
1 parent c8ce669 commit 5ed3fad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metamodel/reprs/P6str.c
Expand Up @@ -127,6 +127,8 @@ static void gc_mark(PARROT_INTERP, PMC *self, PMC *obj) {
P6strInstance *instance = (P6strInstance *)PMC_data(obj);
if (!PMC_IS_NULL(instance->common.stable))
Parrot_gc_mark_PMC_alive(interp, instance->common.stable);
if (!STRING_IS_NULL(instance->value))
Parrot_gc_mark_STRING_alive(interp, instance->value);
}

/* This Parrot-specific addition to the API is used to free an object. */
Expand Down

0 comments on commit 5ed3fad

Please sign in to comment.