Commit c0155e24 authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Fix: Do free connection's putback buffer regardless of it's size

parent 7eefec20
...@@ -1693,7 +1693,7 @@ void connection_close(connection_t *con) ...@@ -1693,7 +1693,7 @@ void connection_close(connection_t *con)
sock_close(con->sock); sock_close(con->sock);
if (con->ip) if (con->ip)
free(con->ip); free(con->ip);
if (con->readbufferlen) if (con->readbuffer)
free(con->readbuffer); free(con->readbuffer);
refobject_unref(con->listensocket_real); refobject_unref(con->listensocket_real);
refobject_unref(con->listensocket_effective); refobject_unref(con->listensocket_effective);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment