From 3364ecc2848884193739adffd136ee8c31369100 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 1 Feb 2012 07:01:21 +0000 Subject: Fixed a sigsegv on *nix (cFile double-closing files) git-svn-id: http://mc-server.googlecode.com/svn/trunk@208 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cFile.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source') diff --git a/source/cFile.cpp b/source/cFile.cpp index caaef010a..b2332cbaf 100644 --- a/source/cFile.cpp +++ b/source/cFile.cpp @@ -94,6 +94,7 @@ void cFile::Close(void) } fclose(m_File); + m_File = NULL; } -- cgit v1.2.3