Skip to content

Commit

Permalink
http server test: fix leak in test
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Dec 22, 2024
1 parent 113e360 commit d60a16a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/supplemental/http/http_server_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ test_server_method_too_long(void)
nng_http_handler_set_method(h,
"THISMETHODISFARFARTOOLONGTOBEVALIDASAMETHODASITISLONGER"
"THANTHIRTYTWOBYTES");

nng_http_handler_free(h);
}

void
Expand Down

0 comments on commit d60a16a

Please sign in to comment.