break;
case CF_STRING:
case CF_QSTRING:
- DupString(new->v.string, str);
+ new->v.string = rb_strdup(str);
break;
}
{
$$ = rb_malloc(sizeof(conf_parm_t));
$$->type = CF_QSTRING;
- DupString($$->v.string, $1);
+ $$->v.string = rb_strdup($1);
}
| timespec
{
else
{
$$->type = CF_STRING;
- DupString($$->v.string, $1);
+ $$->v.string = rb_strdup($1);
}
}
;