diff --git a/source/ngc/fileop.cpp b/source/ngc/fileop.cpp index f4fc8e0..186c82e 100644 --- a/source/ngc/fileop.cpp +++ b/source/ngc/fileop.cpp @@ -782,6 +782,7 @@ LoadFile (char * rbuffer, char *filepath, size_t length, bool silent) CancelAction(); } } + fclose (file); } }