diff --git a/lib/server-handshake.c b/lib/server-handshake.c index 298fae43..e29d0468 100644 --- a/lib/server-handshake.c +++ b/lib/server-handshake.c @@ -270,8 +270,7 @@ handshake_0405(struct libwebsocket_context *context, struct libwebsocket *wsi) bail: - /* free up his parsing allocations */ - lws_free_header_table(wsi); + /* caller will free up his parsing allocations */ return -1; }