File turnpike-0.1.2-missing-closedir.patch of Package turnpike

Index: VPNClient/CommonUI/CommonUI.c
===================================================================
--- VPNClient/CommonUI/CommonUI.c.orig	2009-02-03 04:53:00.000000000 +0100
+++ VPNClient/CommonUI/CommonUI.c	2009-10-03 15:33:00.000000000 +0200
@@ -1252,6 +1252,7 @@ void copyProfiles(Inf_t* Inf_pointer)
 					plog(LLV_ERROR, NULL, NULL,"system(%s) failed.\n", cmd);
 			}
 		}
+		closedir(dd);
 
 	}
 	
@@ -1277,6 +1278,7 @@ void copyProfiles(Inf_t* Inf_pointer)
 
 			}
 		}
+		closedir(dd);
 	}
 	
 	return;