aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/supplemental/http/http_server_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/supplemental/http/http_server_test.c b/src/supplemental/http/http_server_test.c
index 0f6227f2..3c9cb545 100644
--- a/src/supplemental/http/http_server_test.c
+++ b/src/supplemental/http/http_server_test.c
@@ -349,6 +349,8 @@ test_server_method_too_long(void)
nng_http_handler_set_method(h,
"THISMETHODISFARFARTOOLONGTOBEVALIDASAMETHODASITISLONGER"
"THANTHIRTYTWOBYTES");
+
+ nng_http_handler_free(h);
}
void