mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03: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:
@ -4667,7 +4667,7 @@ static int fill_schema_table_from_frm(THD *thd, TABLE *table,
|
|||||||
table_list.view= (LEX*) share->is_view;
|
table_list.view= (LEX*) share->is_view;
|
||||||
res= schema_table->process_table(thd, &table_list, table,
|
res= schema_table->process_table(thd, &table_list, table,
|
||||||
res, db_name, table_name);
|
res, db_name, table_name);
|
||||||
free_root(&tbl.mem_root, MYF(0));
|
closefrm(&tbl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user