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