]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdc.cxx
Merge pull request #5961 from AtariDreams/urgent
[thirdparty/cups.git] / ppdc / ppdc.cxx
index 304649174a8b60b7693655f7a4b8fbb7e6300ae8..385f456413ed4c7b5354610db3a5b05545a10d62 100644 (file)
@@ -229,7 +229,6 @@ main(int  argc,                             // I - Number of command-line arguments
 
          default :                     // Unknown
              usage();
-             break;
        }
     }
     else
@@ -393,7 +392,7 @@ main(int  argc,                             // I - Number of command-line arguments
        return (1);
       }
 
-      if (templocales != locales)
+      if (templocales && templocales != locales)
         templocales->release();
 
       cupsFileClose(fp);