mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
properly close the table in fill_schema_table_from_frm()
this closes the memory leak, that started to appear after da5c3e03f6
This commit is contained in:
parent
2f3d4bd566
commit
6fbcf4134a
1 changed files with 1 additions and 1 deletions
|
@ -4667,7 +4667,7 @@ static int fill_schema_table_from_frm(THD *thd, TABLE *table,
|
|||
table_list.view= (LEX*) share->is_view;
|
||||
res= schema_table->process_table(thd, &table_list, table,
|
||||
res, db_name, table_name);
|
||||
free_root(&tbl.mem_root, MYF(0));
|
||||
closefrm(&tbl);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue