fix a memory leak
This commit is contained in:
parent
1d6f857534
commit
3bbbeae792
@ -2730,7 +2730,10 @@ bool get_window_functions_required_cursors(
|
|||||||
item_win_func->requires_special_cursors())
|
item_win_func->requires_special_cursors())
|
||||||
{
|
{
|
||||||
if (add_special_frame_cursors(thd, cursor_manager, item_win_func))
|
if (add_special_frame_cursors(thd, cursor_manager, item_win_func))
|
||||||
|
{
|
||||||
|
delete cursor_manager;
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
cursor_managers->push_back(cursor_manager);
|
cursor_managers->push_back(cursor_manager);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user