summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/plugins/relay/test-relay-websocket.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/plugins/relay/test-relay-websocket.cpp b/tests/unit/plugins/relay/test-relay-websocket.cpp
index 230d875db..38799c059 100644
--- a/tests/unit/plugins/relay/test-relay-websocket.cpp
+++ b/tests/unit/plugins/relay/test-relay-websocket.cpp
@@ -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);
}
/*