Commit c33b326d authored by monty@mysql.com's avatar monty@mysql.com

Fixed an (unlikely) memory leak

parent 1809adee
......@@ -1195,6 +1195,7 @@ ok2:
end:
if (arena)
thd->restore_active_arena(arena, &backup);
lex_end(thd->lex);
thd->lex= old_lex;
DBUG_RETURN(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