Fixed small memory leak in webserver