8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:03:04 +01:00

Don't crash the debug build if the allocations report file cannot be opened.

This commit is contained in:
robocop 2005-12-24 07:28:31 +00:00
parent b1de9b656a
commit 0ff27c2af8

View File

@ -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);
}