diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:52:52 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-22 12:52:52 -0800 |
| commit | d60a16af349de45477efc566760130b51ff7cf1e (patch) | |
| tree | de0a4a736495105762ca9dc426b3dab232d2efa0 /src/supplemental/http/http_server_test.c | |
| parent | 113e3606bd1a763850db1afee336bb0d5d434317 (diff) | |
| download | nng-d60a16af349de45477efc566760130b51ff7cf1e.tar.gz nng-d60a16af349de45477efc566760130b51ff7cf1e.tar.bz2 nng-d60a16af349de45477efc566760130b51ff7cf1e.zip | |
http server test: fix leak in test
Diffstat (limited to 'src/supplemental/http/http_server_test.c')
| -rw-r--r-- | src/supplemental/http/http_server_test.c | 2 |
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 |
