1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-05-18 00:58:26 -04:00

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

This commit is contained in:
Philipp Schafft 2018-07-19 09:36:05 +00:00
parent 7eefec20d2
commit c0155e2404

View File

@ -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);