mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 00:43:02 +01:00
Don't crash the debug build if the allocations report file cannot be opened.
This commit is contained in:
parent
b1de9b656a
commit
0ff27c2af8
@ -966,6 +966,9 @@ void MemoryPool::print_contents(const char* filename, bool used_only,
|
||||
const char* filter_path)
|
||||
{
|
||||
FILE *out = fopen(filename, "w");
|
||||
if (!out)
|
||||
return;
|
||||
|
||||
print_contents(out, used_only, filter_path);
|
||||
fclose(out);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user