fix a memory leak

This commit is contained in:
Sergei Golubchik 2025-01-07 16:46:32 +01:00
parent 1d6f857534
commit 3bbbeae792

View file

@ -2730,7 +2730,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;
}