Fixed memory bug in webserver.c