1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36: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
@@ -84,6 +84,9 @@ TEST(RelayWebsocket, DeflateAllocFree)
POINTERS_EQUAL(NULL, ws_deflate->strm_inflate);
relay_websocket_deflate_free (ws_deflate);
/* test free of NULL websocket deflate */
relay_websocket_deflate_free (NULL);
}
/*