From: Zdenek Dohnal Date: Fri, 14 Feb 2020 15:48:49 +0000 (+0100) Subject: Fix leakage of ppd X-Git-Tag: v2.3.3op1~89^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2%2Fhead;p=thirdparty%2Fcups.git Fix leakage of ppd --- diff --git a/ppdc/ppdc-import.cxx b/ppdc/ppdc-import.cxx index 04b587d7ff..b4a8341386 100644 --- a/ppdc/ppdc-import.cxx +++ b/ppdc/ppdc-import.cxx @@ -323,5 +323,8 @@ ppdcSource::import_ppd(const char *f) // I - Filename } } + if (ppd) + ppdClose(ppd); + return (1); }