1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

relay: remove check of NULL pointers before calling relay_websocket_deflate_free() (issue #865)

This commit is contained in:
Sébastien Helleu
2024-04-25 20:20:40 +02:00
parent 17090ade74
commit 9c3eda660d
2 changed files with 4 additions and 2 deletions
+1 -2
View File
@@ -1337,8 +1337,7 @@ relay_http_request_free (struct t_relay_http_request *request)
free (request->http_version);
weechat_hashtable_free (request->headers);
weechat_hashtable_free (request->accept_encoding);
if (request->ws_deflate)
relay_websocket_deflate_free (request->ws_deflate);
relay_websocket_deflate_free (request->ws_deflate);
free (request->body);
free (request);