소스 검색

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

Henning Westerholt 2 년 전
부모
커밋
6c372bf644
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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: