diff options
author | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-07-02 17:23:54 +0300 |
---|---|---|
committer | Bojidar Marinov <bojidar.marinov.bg@gmail.com> | 2019-07-02 17:23:54 +0300 |
commit | f7dad789e958fed81bb167b14c5add45ef723cf9 (patch) | |
tree | d881920fc476fd538e80af17610efb1d6d3a1732 /servers/visual/visual_server_raster.cpp | |
parent | 4cb0887660861402fe6857662e622488adb86514 (diff) |
Fix various memory leaks and errors
Diffstat (limited to 'servers/visual/visual_server_raster.cpp')
-rw-r--r-- | servers/visual/visual_server_raster.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |