diff options
Diffstat (limited to 'tests/unit/plugins')
-rw-r--r-- | tests/unit/plugins/relay/test-relay-http.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/plugins/relay/test-relay-http.cpp b/tests/unit/plugins/relay/test-relay-http.cpp index 17254a051..7e1831b19 100644 --- a/tests/unit/plugins/relay/test-relay-http.cpp +++ b/tests/unit/plugins/relay/test-relay-http.cpp @@ -1041,6 +1041,9 @@ TEST(RelayHttp, ResponseAllocFree) POINTERS_EQUAL(NULL, response->body); relay_http_response_free (response); + + /* test free of NULL response */ + relay_http_response_free (NULL); } /* |