diff options
author | FaramosCZ <mschorm@centrum.cz> | 2018-11-29 15:59:26 +0100 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2019-03-22 16:19:30 +0400 |
commit | ed643f4bb31d8e5a9c0bc161583b8c9b2a08c26b (patch) | |
tree | 55e904cbb477f32aa65cb60884abee9b61c9c7cc /extra | |
parent | f704361cd6f43445dbd108d54d1124f6722b4025 (diff) | |
download | mariadb-git-ed643f4bb31d8e5a9c0bc161583b8c9b2a08c26b.tar.gz |
Fix resource leak
The 'bitmap_dir' has to be closed when no longer needed
Diffstat (limited to 'extra')
-rw-r--r-- | extra/mariabackup/changed_page_bitmap.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extra/mariabackup/changed_page_bitmap.cc b/extra/mariabackup/changed_page_bitmap.cc index d5185b18971..d4d3b71f994 100644 --- a/extra/mariabackup/changed_page_bitmap.cc +++ b/extra/mariabackup/changed_page_bitmap.cc @@ -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; } |