diff options
author | k.h.lai <dlshcbmuipmam@hotmail.com> | 2021-02-03 03:56:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 20:56:24 +0100 |
commit | 2072afb72b4b3e9c5dcbcec71d824aeae1b35d19 (patch) | |
tree | 6ec9801012d207a746f4df8a6e0d157919720898 /src/client | |
parent | f227e40180b2035f33059749b14287478bab374a (diff) | |
download | minetest-2072afb72b4b3e9c5dcbcec71d824aeae1b35d19.tar.gz minetest-2072afb72b4b3e9c5dcbcec71d824aeae1b35d19.tar.bz2 minetest-2072afb72b4b3e9c5dcbcec71d824aeae1b35d19.zip |
Fix memory leak detected by address sanitizer (#10896)
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/renderingengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp index f5aca8f58..99ff8c1ee 100644 --- a/src/client/renderingengine.cpp +++ b/src/client/renderingengine.cpp @@ -153,7 +153,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver) RenderingEngine::~RenderingEngine() { core.reset(); - m_device->drop(); + m_device->closeDevice(); s_singleton = nullptr; } |