diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-10-27 21:56:38 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2008-10-27 21:56:38 +0000 |
commit | e4572d571c24d8e71db08ab9ec16210c2428c761 (patch) | |
tree | c592c8735b59de63e245859661f66115d9dd20a0 /ppdc/ppdc-option.cxx | |
parent | 28b9d139c05c6edd6ebc25f466792b8e806d0fa6 (diff) | |
download | cups-e4572d571c24d8e71db08ab9ec16210c2428c761.tar.gz |
Merge changes from CUPS 1.4svn-r8088, the real official 1.4b1!
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@1035 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'ppdc/ppdc-option.cxx')
-rw-r--r-- | ppdc/ppdc-option.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ppdc/ppdc-option.cxx b/ppdc/ppdc-option.cxx index 734d40696..5a33a4eb3 100644 --- a/ppdc/ppdc-option.cxx +++ b/ppdc/ppdc-option.cxx @@ -57,10 +57,10 @@ ppdcOption::ppdcOption(ppdcOptType ot, // I - Option type 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; @@ -82,7 +82,7 @@ ppdcOption::~ppdcOption() text->release(); if (defchoice) defchoice->release(); - delete choices; + choices->release(); } @@ -115,7 +115,7 @@ ppdcOption::set_defchoice(ppdcChoice *c) // I - Choice defchoice->release(); if (c->name) - c->name->get(); + c->name->retain(); defchoice = c->name; } |