Commit 31b3ecaf authored by unknown's avatar unknown

Fixed memory leak in Item_func_sp::cleanup().

parent ede52616
......@@ -1301,6 +1301,8 @@ class Item_func_sp :public Item_func
void cleanup()
{
if (result_field)
delete result_field;
Item_func::cleanup();
result_field= NULL;
}
......
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