From d60a16af349de45477efc566760130b51ff7cf1e Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 22 Dec 2024 12:52:52 -0800 Subject: http server test: fix leak in test --- src/supplemental/http/http_server_test.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3-70-g09d2