diff --git a/lib/gui_rpc_client_ops.cpp b/lib/gui_rpc_client_ops.cpp index 8fe5ec0166..accd914c99 100644 --- a/lib/gui_rpc_client_ops.cpp +++ b/lib/gui_rpc_client_ops.cpp @@ -490,6 +490,7 @@ int APP_VERSION::parse_coproc(XML_PARSER& xp) { } int APP_VERSION::parse(XML_PARSER& xp) { + clear(); while (!xp.get_tag()) { if (xp.match_tag("/app_version")) return 0; if (xp.parse_str("app_name", app_name, sizeof(app_name))) continue;