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:
ea86ecf
)
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>
Thu, 28 Jun 2018 17:11:01 +0000
(19:11 +0200)
src/client.cpp
patch
|
blob
|
history
diff --git
a/src/client.cpp
b/src/client.cpp
index abc84b7cf8a0d66c35465ed4f6a0697a62fe3cf9..1cbb6953defbbc76a0ed249fc05b45eefe2d3fb6 100644
(file)
--- a/
src/client.cpp
+++ b/
src/client.cpp
@@
-230,6
+230,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()) {
@@
-257,6
+259,7
@@
Client::~Client()
}
delete m_minimap;
+ delete m_media_downloader;
}
void Client::connect(Address address, bool is_local_server)