Commit 549399ee authored by pem@mysql.com's avatar pem@mysql.com

Merge mysql.com:/usr/local/bk/mysql-5.0

into  mysql.com:/home/pem/work/mysql-5.0
parents 9f1bb68b 88603a0e
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment