summaryrefslogtreecommitdiffstats
path: root/games/cake/files/patch-cake::files.cpp
blob: 4140e1e504373bdacadc7088695e0c9ed92b3b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- cake/files.cpp.orig	Sat Jul 17 20:36:55 2004
+++ cake/files.cpp	Sat Jul 17 20:40:54 2004
@@ -772,7 +772,6 @@
 
 		if (handle == NULL)
 		{
-			closedir(handle);
 			gConsole->Insertln("^1handle == NULL: %d - %s", errno, strerror(errno));
 			if (temp_pat) delete [] temp_pat;
 			temp_pat = NULL;
@@ -860,7 +859,6 @@
 
 		if (handle == NULL)
 		{
-			closedir(handle);
 			gConsole->Insertln("^1handle == NULL: %d - %s", errno, strerror(errno));
 			if (temp_pat) delete [] temp_pat;
 			temp_pat = NULL;
OpenPOWER on IntegriCloud