mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 19:04:00 +02:00
- bugfixes on windows platform when some folders and files are missing, do not crash hard.
This commit is contained in:
@@ -63,7 +63,7 @@ void AllocRegistry::dump(const char *path) {
|
||||
fprintf(f, "Total allocations: %d, " MG_SIZE_T_SPECIFIER " bytes\n", allocCount, allocBytes);
|
||||
fprintf(f, "Not monitored allocations: %d, " MG_SIZE_T_SPECIFIER " bytes\n", nonMonitoredCount, nonMonitoredBytes);
|
||||
|
||||
fclose(f);
|
||||
if(f) fclose(f);
|
||||
|
||||
printf("Memory leak dump summary at: %s\n",szBuf2);
|
||||
printf("Total leaks: %d, " MG_SIZE_T_SPECIFIER " bytes\n", leakCount, leakBytes);
|
||||
|
Reference in New Issue
Block a user