summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-07-02 21:41:42 +0200
committerGitHub <noreply@github.com>2019-07-02 21:41:42 +0200
commite0d610203c5194400a5932f36ae0d96c8ede7f0f (patch)
tree68c2fb70ffafe632d82a4292ca8c0fade49da448 /servers
parent9e1e4defefdd2e08eb1a8672c27bef25c58de88b (diff)
parentf7dad789e958fed81bb167b14c5add45ef723cf9 (diff)
Merge pull request #30254 from bojidar-bg/30224-docdata-generate
Fix various memory leaks and errors
Diffstat (limited to 'servers')
-rw-r--r--servers/visual/visual_server_raster.cpp2
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 */