Module: kamailio Branch: 5.6 Commit: 3cc09ff6045c35feef5902e3cea6b313c49e8a77 URL: https://github.com/kamailio/kamailio/commit/3cc09ff6045c35feef5902e3cea6b313...
Author: Henning Westerholt hw@gilawa.com Committer: Henning Westerholt hw@gilawa.com Date: 2023-01-25T08:01:33Z
core: fix memory leak related to Require header parsing, this header also need to be freed
(cherry picked from commit 6c372bf644e1c9afa867433e5992e347c8fc4ff6)
---
Modified: src/core/parser/hf.h
---
Diff: https://github.com/kamailio/kamailio/commit/3cc09ff6045c35feef5902e3cea6b313... Patch: https://github.com/kamailio/kamailio/commit/3cc09ff6045c35feef5902e3cea6b313...
---
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: