diff options
Diffstat (limited to 'src/serializerbinary.cpp')
-rw-r--r-- | src/serializerbinary.cpp | 2 |
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 | ||
30 | void SerializerBinary::close() | 30 | void 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; |