mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
Fixed memory leak in get_window_functions_required_cursors()
Found by buildbot with test main.gis
This commit is contained in:
parent
2085f36c6c
commit
130d6f9c4b
1 changed files with 3 additions and 0 deletions
|
@ -2726,7 +2726,10 @@ bool get_window_functions_required_cursors(
|
|||
item_win_func->requires_special_cursors())
|
||||
{
|
||||
if (add_special_frame_cursors(thd, cursor_manager, item_win_func))
|
||||
{
|
||||
delete cursor_manager;
|
||||
return true;
|
||||
}
|
||||
cursor_managers->push_back(cursor_manager);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue