]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - ppdc/ppdc-driver.cxx
More clang warning fixes.
[thirdparty/cups.git] / ppdc / ppdc-driver.cxx
index 9547e91fa23e44835984f40754de2dbb394878da..7f739b2dd77b33b707b942b515192e5a3b7cf69c 100644 (file)
@@ -1,10 +1,11 @@
 //
 // PPD file compiler definitions for the CUPS PPD Compiler.
 //
-// Copyright 2007-2018 by Apple Inc.
-// Copyright 2002-2006 by Easy Software Products.
+// Copyright © 2007-2019 by Apple Inc.
+// Copyright © 2002-2006 by Easy Software Products.
 //
-// Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
+// Licensed under Apache License v2.0.  See the file "LICENSE" for more
+// information.
 //
 
 //
@@ -705,6 +706,7 @@ ppdcDriver::write_ppd_file(
           _cupsLangPrintf(stderr,
                          _("ppdc: No message catalog provided for locale "
                            "%s."), locale->value);
+          delete locatalog;
           continue;
        }