701bef7
diff --git a/ppdc/ppdc-import.cxx b/ppdc/ppdc-import.cxx
701bef7
index 04b587d..60d8834 100644
701bef7
--- a/ppdc/ppdc-import.cxx
701bef7
+++ b/ppdc/ppdc-import.cxx
701bef7
@@ -27,7 +27,7 @@ ppdcSource::import_ppd(const char *f)	// I - Filename
701bef7
   char		line[256],		// Comment line
701bef7
 		*ptr;			// Pointer into line
701bef7
   int		cost;			// Cost for filter
701bef7
-  ppd_file_t	*ppd;			// PPD file data
701bef7
+  ppd_file_t	*ppd = NULL;		// PPD file data
701bef7
   ppd_group_t	*group;			// PPD group
701bef7
   ppd_option_t	*option;		// PPD option
701bef7
   ppd_choice_t	*choice;		// PPD choice
701bef7
@@ -323,5 +323,8 @@ ppdcSource::import_ppd(const char *f)	// I - Filename
701bef7
     }
701bef7
   }
701bef7
 
701bef7
+  if (ppd)
701bef7
+    ppdClose(ppd);
701bef7
+
701bef7
   return (1);
701bef7
 }