ppdcOption::ppdcOption(ppdcOption *o) // I - Template option
{
- o->name->get();
- o->text->get();
+ o->name->retain();
+ o->text->retain();
if (o->defchoice)
- o->defchoice->get();
+ o->defchoice->retain();
type = o->type;
name = o->name;
text->release();
if (defchoice)
defchoice->release();
- delete choices;
+ choices->release();
}
defchoice->release();
if (c->name)
- c->name->get();
+ c->name->retain();
defchoice = c->name;
}