summaryrefslogtreecommitdiff
path: root/ppdc
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-04-20 09:13:32 -0400
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-04-20 09:13:32 -0400
commit507c4adcc817c2d80643ecee2cb55dff305236f9 (patch)
tree0b4567e44b8a7af86fa75409858f76976bb82d80 /ppdc
parent60d8f88456d1240720cec82ff7375dff439da56e (diff)
downloadcups-507c4adcc817c2d80643ecee2cb55dff305236f9.tar.gz
More clang warning fixes.
Diffstat (limited to 'ppdc')
-rw-r--r--ppdc/ppdc-driver.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/ppdc/ppdc-driver.cxx b/ppdc/ppdc-driver.cxx
index 9547e91fa..7f739b2dd 100644
--- a/ppdc/ppdc-driver.cxx
+++ b/ppdc/ppdc-driver.cxx
@@ -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;
}