mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Fixed an (unlikely) memory leak
This commit is contained in:
parent
63791773b1
commit
d43731e200
1 changed files with 1 additions and 0 deletions
|
@ -1195,6 +1195,7 @@ ok2:
|
||||||
end:
|
end:
|
||||||
if (arena)
|
if (arena)
|
||||||
thd->restore_active_arena(arena, &backup);
|
thd->restore_active_arena(arena, &backup);
|
||||||
|
lex_end(thd->lex);
|
||||||
thd->lex= old_lex;
|
thd->lex= old_lex;
|
||||||
DBUG_RETURN(result);
|
DBUG_RETURN(result);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue