Commit ed643f4b authored by FaramosCZ's avatar FaramosCZ Committed by Sergey Vojtovich

Fix resource leak

The 'bitmap_dir' has to be closed when no longer needed
parent f704361c
......@@ -381,6 +381,7 @@ log_online_setup_bitmap_file_range(
msg("InnoDB: Error: inconsistent bitmap file "
"directory\n");
os_file_closedir(bitmap_dir);
free(bitmap_files->files);
return FALSE;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment