Skip to content

Commit

Permalink
fix a memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
vuvova committed Jan 7, 2025
1 parent 1d6f857 commit 3bbbeae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sql/sql_window.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3bbbeae

Please sign in to comment.