This commit is contained in:
overflowerror 2017-01-02 18:09:24 +01:00
parent 42e2e33b3e
commit 12c5783680

View file

@ -734,9 +734,10 @@ int ws_run_linear(webserver_t* server) {
ws_headers_free(&headers);
if (host != NULL)
if (host != NULL) {
free(host);
host = NULL;
host = NULL;
}
buffer = realloc(buffer, BUFFER_SIZE * sizeof(char));
nb = 1;