summaryrefslogtreecommitdiff
path: root/src/serializerbinary.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serializerbinary.cpp')
-rw-r--r--src/serializerbinary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serializerbinary.cpp b/src/serializerbinary.cpp
index 4b741ae..f2d8371 100644
--- a/src/serializerbinary.cpp
+++ b/src/serializerbinary.cpp
@@ -29,7 +29,7 @@ SerializerBinary::~SerializerBinary()
29 29
30void SerializerBinary::close() 30void SerializerBinary::close()
31{ 31{
32 if (fhFile != NULL) 32 if (fhFile != NULL && bCloseFile )
33 { 33 {
34 fclose(fhFile); 34 fclose(fhFile);
35 fhFile = NULL; 35 fhFile = NULL;