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

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

parent 7eefec20
......@@ -1693,7 +1693,7 @@ void connection_close(connection_t *con)
sock_close(con->sock);
if (con->ip)
free(con->ip);
if (con->readbufferlen)
if (con->readbuffer)
free(con->readbuffer);
refobject_unref(con->listensocket_real);
refobject_unref(con->listensocket_effective);
......
Markdown is supported
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