From f372f5c88fe5121753c5c833154e7e1c720ab4ad Mon Sep 17 00:00:00 2001 From: JAJames Date: Tue, 12 Jul 2016 18:47:53 -0400 Subject: [PATCH] Fixed minor bug/leak --- RenX.ServerList/RenX_ServerList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RenX.ServerList/RenX_ServerList.cpp b/RenX.ServerList/RenX_ServerList.cpp index 0145a94..256c63f 100644 --- a/RenX.ServerList/RenX_ServerList.cpp +++ b/RenX.ServerList/RenX_ServerList.cpp @@ -197,7 +197,9 @@ RenX_ServerListPlugin::~RenX_ServerListPlugin() { Jupiter::HTTP::Server &server = getHTTPServer(); server.remove(RenX_ServerListPlugin::web_hostname, RenX_ServerListPlugin::web_path, RenX_ServerListPlugin::server_list_page_name); + server.remove(RenX_ServerListPlugin::web_hostname, RenX_ServerListPlugin::web_path, RenX_ServerListPlugin::server_list_long_page_name); server.remove(RenX_ServerListPlugin::web_hostname, RenX_ServerListPlugin::web_path, RenX_ServerListPlugin::server_page_name); + server.remove(RenX_ServerListPlugin::web_hostname, RenX_ServerListPlugin::web_path, RenX_ServerListPlugin::game_server_list_page_name); } Jupiter::ReadableString *RenX_ServerListPlugin::getServerListJSON()