mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Fix a crash I introduced by the last push.
This commit is contained in:
parent
b4751a9314
commit
d0df504b83
1 changed files with 2 additions and 1 deletions
|
@ -2447,7 +2447,8 @@ Prepared_statement::~Prepared_statement()
|
|||
if (cursor)
|
||||
cursor->Cursor::~Cursor();
|
||||
free_items();
|
||||
free_root(cursor->mem_root, MYF(0));
|
||||
if (cursor)
|
||||
free_root(cursor->mem_root, MYF(0));
|
||||
delete lex->result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue