Module: kamailio
Branch: 5.6
Commit: 3cc09ff6045c35feef5902e3cea6b313c49e8a77
URL: 
https://github.com/kamailio/kamailio/commit/3cc09ff6045c35feef5902e3cea6b313c49e8a77

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
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/3cc09ff6045c35feef5902e3cea6b313c49e8a77.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3cc09ff6045c35feef5902e3cea6b313c49e8a77.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]

Reply via email to