From cbdf102cfc12971cad44a9d7ae8930a68d69ca9f Mon Sep 17 00:00:00 2001
From: raburton <Unknown>
Date: Wed, 18 Jul 2007 13:58:21 +0000
Subject: [PATCH] close drill list file

---
 pcbnew/gendrill.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pcbnew/gendrill.cpp b/pcbnew/gendrill.cpp
index 9f58290b69..6438d26258 100644
--- a/pcbnew/gendrill.cpp
+++ b/pcbnew/gendrill.cpp
@@ -1393,7 +1393,7 @@ void PlotOvalDrillSymbol(const wxPoint & position,const wxSize & size,int orient
 void WinEDA_DrillFrame::GenDrillReport(const wxString & FullFileName)
 /********************************************************************/
 /*
-Create a list od drill values and drill count
+Create a list of drill values and drill count
 */
 {
 wxString FileName, Mask(wxT("*")), Ext(wxT(".*"));
@@ -1443,5 +1443,7 @@ FORET * foret;
 
 		fputs(line, dest);
 	}
+	
+	fclose(dest);
 
 }