diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-02 21:41:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-02 21:41:42 +0200 |
commit | e0d610203c5194400a5932f36ae0d96c8ede7f0f (patch) | |
tree | 68c2fb70ffafe632d82a4292ca8c0fade49da448 /servers | |
parent | 9e1e4defefdd2e08eb1a8672c27bef25c58de88b (diff) | |
parent | f7dad789e958fed81bb167b14c5add45ef723cf9 (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.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 */ |