Commit 16f86e69 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-22343 fixup: Fix a memory leak

parent 5407117a
......@@ -1054,7 +1054,7 @@ static ulint dict_check_sys_tables()
look to see if it is already in the tablespace cache. */
if (fil_space_for_table_exists_in_mem(
space_id, table_name.m_name, flags)) {
continue;
goto next;
}
char* filepath = fil_make_filepath(
......@@ -1073,8 +1073,8 @@ static ulint dict_check_sys_tables()
max_space_id = ut_max(max_space_id, space_id);
ut_free(table_name.m_name);
ut_free(filepath);
goto next;
}
mtr_commit(&mtr);
......
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