Skip to content

Commit

Permalink
core: fix memory leak related to Require header parsing, this header …
Browse files Browse the repository at this point in the history
…also need to be freed

(cherry picked from commit 6c372bf)
  • Loading branch information
henningw committed Jan 25, 2023
1 parent fe0c4d5 commit 3cc09ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/parser/hf.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ static inline int hdr_allocs_parse(struct hdr_field* hdr)
case HDR_PROXYAUTH_T:
case HDR_RECORDROUTE_T:
case HDR_REFER_TO_T:
case HDR_REQUIRE_T:
case HDR_ROUTE_T:
case HDR_RPID_T:
case HDR_SESSIONEXPIRES_T:
Expand Down

0 comments on commit 3cc09ff

Please sign in to comment.