From 5624b8f5c6247161f29fe138e362ac5edb7adf83 Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 18 Jan 2024 15:23:13 -0300 Subject: [PATCH] Fix memory leak from not clearing the buffer barrier vector properly on the render graph. --- servers/rendering/rendering_device_graph.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/rendering/rendering_device_graph.cpp b/servers/rendering/rendering_device_graph.cpp index bfacd38065eb..28526b8f5803 100644 --- a/servers/rendering/rendering_device_graph.cpp +++ b/servers/rendering/rendering_device_graph.cpp @@ -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();