summaryrefslogtreecommitdiff
path: root/sql/sql_prepare.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-01-20 16:48:56 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-01-20 16:48:56 +0200
commitded128aa9b3d40775e626a08a744a93d9ba71b01 (patch)
tree2abae3ef8fd5438fc99d269b47d645faec3cb8e8 /sql/sql_prepare.cc
parent64952203af161c6e72744b6a2fb8e0f5274ea4d6 (diff)
parent259185764ba949bbe0cfa6bbef4673f61155cb90 (diff)
downloadmariadb-git-ded128aa9b3d40775e626a08a744a93d9ba71b01.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r--sql/sql_prepare.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc
index 424a039a5be..29f629280b7 100644
--- a/sql/sql_prepare.cc
+++ b/sql/sql_prepare.cc
@@ -3877,7 +3877,7 @@ Prepared_statement::~Prepared_statement()
free_items();
if (lex)
{
- delete lex->sphead;
+ sp_head::destroy(lex->sphead);
delete lex->result;
delete (st_lex_local *) lex;
}