We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5898c4 commit 47acfbdCopy full SHA for 47acfbd
CMakeLists.txt
@@ -172,3 +172,5 @@ endif()
172
include(CMakePrintSystemInformation)
173
message("CMAKE_C_LIBRARY_ARCHITECTURE ${CMAKE_C_LIBRARY_ARCHITECTURE}")
174
175
+
176
+set(CMAKE_BUILD_TYPE RelWithDebInfo)
config.c
@@ -1264,7 +1264,8 @@ void load_configfile_wrapper(char *config_file)
1264
1265
free(path);
1266
1267
- closedir(dir);
+ if (dir)
1268
+ closedir(dir);
1269
}
1270
1271
if (config_file)
0 commit comments