]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdc.cxx
Merge changes from CUPS 1.4svn-r8088, the real official 1.4b1!
[thirdparty/cups.git] / ppdc / ppdc.cxx
index bd0243cd9c261a7dbfead2335ea6d0d1e519fc5b..49d5a6ab5a02a5b7795949e85a5b07ce7b3f0370 100644 (file)
@@ -181,7 +181,7 @@ main(int  argc,                             // I - Number of command-line arguments
                                    "\"%s\"...\n"), argv[i]);
 
                if (catalog)
-                 delete catalog;
+                 catalog->release();
 
                catalog = new ppdcCatalog(argv[i]);
 
@@ -371,11 +371,11 @@ main(int  argc,                           // I - Number of command-line arguments
     usage();
 
   // Delete the printer driver information...
-  delete src;
+  src->release();
 
   // Message catalog...
   if (catalog)
-    delete catalog;
+    catalog->release();
 
   // Return with no errors.
   return (0);