diff --git a/code/nel/src/gui/group_html_parser.cpp b/code/nel/src/gui/group_html_parser.cpp
index b2a61c4f9..0069fd77d 100644
--- a/code/nel/src/gui/group_html_parser.cpp
+++ b/code/nel/src/gui/group_html_parser.cpp
@@ -327,6 +327,7 @@ namespace NLGUI
nlwarning("html root node failed");
success = false;
}
+ xmlFreeDoc(parser->myDoc);
}
else
{