Skip to content

Commit

Permalink
Merge pull request godotengine#87349 from DarioSamo/render_graph_leak…
Browse files Browse the repository at this point in the history
…_fix

Fix memory leak from not clearing the buffer barrier vector properly on the render graph.
  • Loading branch information
akien-mga committed Jan 19, 2024
2 parents bf5b877 + 5624b8f commit 02f871a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions servers/rendering/rendering_device_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,7 @@ void RenderingDeviceGraph::begin() {
command_data_offsets.clear();
command_normalization_barriers.clear();
command_transition_barriers.clear();
command_buffer_barriers.clear();
command_label_chars.clear();
command_label_colors.clear();
command_label_offsets.clear();
Expand Down

0 comments on commit 02f871a

Please sign in to comment.