Blob Blame History Raw
From: Ovidiu Sas <osas@voipembedded.com>
Date: Mon, 30 Mar 2015 22:10:02 -0400
Subject: [PATCH] parser: fix memory leak  - add Supported header to the list
 of headers that performs memory allocation


diff --git a/parser/hf.h b/parser/hf.h
index f2b9f14..c8b67d4 100644
--- a/parser/hf.h
+++ b/parser/hf.h
@@ -204,6 +204,7 @@ static inline int hdr_allocs_parse(struct hdr_field* hdr)
 		case HDR_WWW_AUTHENTICATE_T:
 		case HDR_PROXY_AUTHENTICATE_T:
 		case HDR_ALLOW_T:
+		case HDR_SUPPORTED_T:
 			return 1;
 		default:
 			return 0;