diff options
author | red-001 <red-001@outlook.ie> | 2018-06-27 16:06:37 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-06-27 17:06:37 +0200 |
commit | a43a4e2d97d52f0e5e6e62e472a577e434d892eb (patch) | |
tree | 46f45b61b547a9d5528cbb38c80d9a7c3673161f /src | |
parent | 93661ca2122639b000dc3860700e5c61ebbc6497 (diff) | |
download | minetest-a43a4e2d97d52f0e5e6e62e472a577e434d892eb.tar.gz minetest-a43a4e2d97d52f0e5e6e62e472a577e434d892eb.tar.bz2 minetest-a43a4e2d97d52f0e5e6e62e472a577e434d892eb.zip |
Fix small memory leaks in client. (#7492)
Diffstat (limited to 'src')
-rw-r--r-- | src/client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index 049d35379..378efd5fe 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -250,6 +250,8 @@ Client::~Client() m_shutdown = true; m_con->Disconnect(); + deleteAuthData(); + m_mesh_update_thread.stop(); m_mesh_update_thread.wait(); while (!m_mesh_update_thread.m_queue_out.empty()) { @@ -274,6 +276,7 @@ Client::~Client() } delete m_minimap; + delete m_media_downloader; } void Client::connect(Address address, bool is_local_server) |