From b7316b8066d844b18ff2f551074b9b652a8c9f3d Mon Sep 17 00:00:00 2001 From: David Rose Date: Fri, 14 Sep 2007 18:41:20 +0000 Subject: [PATCH] fix leak of removed windows and buffers --- panda/src/display/graphicsEngine.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/display/graphicsEngine.cxx b/panda/src/display/graphicsEngine.cxx index d7e46110ba..beec7e15be 100644 --- a/panda/src/display/graphicsEngine.cxx +++ b/panda/src/display/graphicsEngine.cxx @@ -663,6 +663,7 @@ render_frame() { } } } + _windows.swap(new_windows); // Now it's time to do any drawing from the main frame--after all of // the App code has executed, but before we begin the next frame.