summaryrefslogtreecommitdiff
path: root/ppdc/ppdc-source.cxx
diff options
context:
space:
mode:
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-10-27 21:56:38 +0000
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>2008-10-27 21:56:38 +0000
commite4572d571c24d8e71db08ab9ec16210c2428c761 (patch)
treec592c8735b59de63e245859661f66115d9dd20a0 /ppdc/ppdc-source.cxx
parent28b9d139c05c6edd6ebc25f466792b8e806d0fa6 (diff)
downloadcups-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-source.cxx')
-rw-r--r--ppdc/ppdc-source.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/ppdc/ppdc-source.cxx b/ppdc/ppdc-source.cxx
index 7450291e3..d95f2d6cc 100644
--- a/ppdc/ppdc-source.cxx
+++ b/ppdc/ppdc-source.cxx
@@ -115,12 +115,12 @@ ppdcSource::ppdcSource(const char *f, // I - File to read
ppdcSource::~ppdcSource()
{
- delete filename;
- delete base_fonts;
- delete drivers;
- delete po_files;
- delete sizes;
- delete vars;
+ filename->release();
+ base_fonts->release();
+ drivers->release();
+ po_files->release();
+ sizes->release();
+ vars->release();
}
@@ -1672,7 +1672,7 @@ ppdcSource::get_po(ppdcFile *fp) // I - File to read
cat = new ppdcCatalog(locale, pofilename);
// Reset the filename to the name supplied by the user...
- delete cat->filename;
+ cat->filename->release();
cat->filename = new ppdcString(poname);
// Return the catalog...