Fixed memory leak in get_window_functions_required_cursors()

Found by buildbot with test main.gis
This commit is contained in:
Monty 2024-12-28 11:06:04 +02:00
parent 2085f36c6c
commit 130d6f9c4b

View file

@ -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;
}