mirror of
https://github.com/sigmasternchen/Serwer
synced 2025-03-15 07:08:54 +00:00
fix of #3
This commit is contained in:
parent
42e2e33b3e
commit
12c5783680
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue