mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
fix a memory leak
This commit is contained in:
parent
1d6f857534
commit
3bbbeae792
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue