Module: kamailio Branch: master Commit: 6c372bf644e1c9afa867433e5992e347c8fc4ff6 URL: https://github.com/kamailio/kamailio/commit/6c372bf644e1c9afa867433e5992e347c8fc4ff6
Author: Henning Westerholt <[email protected]> Committer: Henning Westerholt <[email protected]> Date: 2023-01-25T08:00:34Z core: fix memory leak related to Require header parsing, this header also need to be freed --- Modified: src/core/parser/hf.h --- Diff: https://github.com/kamailio/kamailio/commit/6c372bf644e1c9afa867433e5992e347c8fc4ff6.diff Patch: https://github.com/kamailio/kamailio/commit/6c372bf644e1c9afa867433e5992e347c8fc4ff6.patch --- diff --git a/src/core/parser/hf.h b/src/core/parser/hf.h index 8b5dfc9791..6a2d9fdae8 100644 --- a/src/core/parser/hf.h +++ b/src/core/parser/hf.h @@ -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: _______________________________________________ Kamailio (SER) - Development Mailing List To unsubscribe send an email to [email protected]
