1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-36720 Possible memory leak on updating table with index without overlaps

when closing a lookup_handler, don't forget to close it in PSI too
This commit is contained in:
Sergei Golubchik
2025-05-16 11:29:56 +02:00
parent 9306353d2d
commit cb7978a12d
3 changed files with 46 additions and 0 deletions

View File

@@ -7346,6 +7346,7 @@ int handler::ha_reset()
{
lookup_handler->ha_external_unlock(table->in_use);
lookup_handler->close();
PSI_CALL_close_table(table_share, lookup_handler->m_psi);
delete lookup_handler;
lookup_handler= this;
}