diff --git a/src/nopoll_conn.c b/src/nopoll_conn.c index 6e87baf..ca9ca53 100644 --- a/src/nopoll_conn.c +++ b/src/nopoll_conn.c @@ -2295,8 +2295,8 @@ void nopoll_conn_unref (noPollConn * conn) nopoll_free (conn->handshake->websocket_accept); nopoll_free (conn->handshake->expected_accept); nopoll_free (conn->handshake->cookie); - nopoll_free (conn->handshake); nopoll_free (conn->handshake->redirectURL); + nopoll_free (conn->handshake); } /* end if */ /* release connection options if defined and reuse flag is not defined */