From 2985bba157da40030b4b6e2159481ae08cbd603f Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sat, 19 Mar 2022 20:18:12 +0000 Subject: [PATCH] #650 Unsure about 1b5c20e14ff906997006c8dd20f3463025a99839 --- src/ifcparse/IfcParse.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ifcparse/IfcParse.cpp b/src/ifcparse/IfcParse.cpp index ee6bccfee6..51d344033b 100644 --- a/src/ifcparse/IfcParse.cpp +++ b/src/ifcparse/IfcParse.cpp @@ -168,6 +168,7 @@ IfcSpfStream::IfcSpfStream(const std::string& fn) eof = len == 0; ptr = 0; fclose(stream); + stream = nullptr; #ifdef USE_MMAP } #endif