summaryrefslogtreecommitdiff
path: root/src/gui/guiHyperText.h
diff options
context:
space:
mode:
authorDS <vorunbekannt75@web.de>2020-03-10 20:32:38 +0100
committerGitHub <noreply@github.com>2020-03-10 20:32:38 +0100
commitb42493fb4c40611020c9ded9b7af5b96dc4148bd (patch)
treeb61a502308b865fa3c1160129339aea9df65a005 /src/gui/guiHyperText.h
parent7a7bfdca7c2dcbfe40467f64544112551abd7316 (diff)
downloadminetest-b42493fb4c40611020c9ded9b7af5b96dc4148bd.tar.gz
minetest-b42493fb4c40611020c9ded9b7af5b96dc4148bd.tar.bz2
minetest-b42493fb4c40611020c9ded9b7af5b96dc4148bd.zip
Fix memory leak in GUIHyperText (#9489)
Diffstat (limited to 'src/gui/guiHyperText.h')
-rw-r--r--src/gui/guiHyperText.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/guiHyperText.h b/src/gui/guiHyperText.h
index 3ea8732cd..093c84ccd 100644
--- a/src/gui/guiHyperText.h
+++ b/src/gui/guiHyperText.h
@@ -153,7 +153,7 @@ protected:
std::unordered_map<std::string, StyleList> m_elementtags;
std::unordered_map<std::string, StyleList> m_paragraphtags;
- std::vector<Tag *> m_tags;
+ std::vector<Tag *> m_not_root_tags;
std::list<Tag *> m_active_tags;
// Current values