Explorar o código

core: fix memory leak related to Require header parsing, this header also need to be freed

Henning Westerholt %!s(int64=2) %!d(string=hai) anos
pai
achega
6c372bf644
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/parser/hf.h

+ 1 - 0
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: