From f7dad789e958fed81bb167b14c5add45ef723cf9 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Tue, 2 Jul 2019 17:23:54 +0300 Subject: Fix various memory leaks and errors --- servers/visual/visual_server_raster.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'servers/visual/visual_server_raster.cpp') diff --git a/servers/visual/visual_server_raster.cpp b/servers/visual/visual_server_raster.cpp index d45bda72b7..7aded4e816 100644 --- a/servers/visual/visual_server_raster.cpp +++ b/servers/visual/visual_server_raster.cpp @@ -77,6 +77,8 @@ void VisualServerRaster::free(RID p_rid) { return; if (VSG::scene->free(p_rid)) return; + if (VSG::scene_render->free(p_rid)) + return; } /* EVENT QUEUING */ -- cgit v1.2.3