From 7d243b754ce45fe706f16d203eb4ec129870d740 Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Fri, 14 Feb 2020 16:48:49 +0100 Subject: [PATCH] Fix leakage of ppd Gbp-Pq: Name 0006-Fix-leakage-of-ppd.patch --- ppdc/ppdc-import.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ppdc/ppdc-import.cxx b/ppdc/ppdc-import.cxx index 04b587d..b4a8341 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); }