]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Fix leakage of ppd 2/head
authorZdenek Dohnal <zdohnal@redhat.com>
Fri, 14 Feb 2020 15:48:49 +0000 (16:48 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 14 Sep 2020 09:13:54 +0000 (11:13 +0200)
ppdc/ppdc-import.cxx

index 04b587d7ff6d398a00c30630792855ecf74fdf03..b4a8341386d25a770f096bfeb7450fa583b6e075 100644 (file)
@@ -323,5 +323,8 @@ ppdcSource::import_ppd(const char *f)       // I - Filename
     }
   }
 
+  if (ppd)
+    ppdClose(ppd);
+
   return (1);
 }