aboutsummaryrefslogtreecommitdiff
path: root/src/supplemental
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-22 12:52:52 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-22 12:52:52 -0800
commitd60a16af349de45477efc566760130b51ff7cf1e (patch)
treede0a4a736495105762ca9dc426b3dab232d2efa0 /src/supplemental
parent113e3606bd1a763850db1afee336bb0d5d434317 (diff)
downloadnng-d60a16af349de45477efc566760130b51ff7cf1e.tar.gz
nng-d60a16af349de45477efc566760130b51ff7cf1e.tar.bz2
nng-d60a16af349de45477efc566760130b51ff7cf1e.zip
http server test: fix leak in test
Diffstat (limited to 'src/supplemental')
-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