mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix a valgrind warning.
This commit is contained in:
@ -2447,6 +2447,7 @@ Prepared_statement::~Prepared_statement()
|
||||
if (cursor)
|
||||
cursor->Cursor::~Cursor();
|
||||
free_items();
|
||||
free_root(cursor->mem_root, MYF(0));
|
||||
delete lex->result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user