]> wimlib.net Git - wimlib/blobdiff - src/wim.c
Close error file opened by name
[wimlib] / src / wim.c
index 38d9071886c28f09862286fa34b7e75059e1a250..fc15a21db00c6a541091e770a29ca7eef8863260 100644 (file)
--- a/src/wim.c
+++ b/src/wim.c
@@ -1071,5 +1071,7 @@ wimlib_global_cleanup(void)
 #endif
        cleanup_decompressor_params();
        cleanup_compressor_params();
 #endif
        cleanup_decompressor_params();
        cleanup_compressor_params();
+
+       wimlib_set_error_file(NULL);
        lib_initialized = false;
 }
        lib_initialized = false;
 }