projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93661ca
)
Fix small memory leaks in client. (#7492)
author
red-001
<red-001@outlook.ie>
Wed, 27 Jun 2018 15:06:37 +0000
(16:06 +0100)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Wed, 27 Jun 2018 15:06:37 +0000
(17:06 +0200)
src/client.cpp
patch
|
blob
|
history
diff --git
a/src/client.cpp
b/src/client.cpp
index 049d35379aaeb6fd239de184418fdd846db8b7a6..378efd5fea0c4052a8976311022588b56c0d0c50 100644
(file)
--- 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)