Fix HTTP header leakage #39

Merged
jordan merged 1 commit from lda/Cytoplasm:fix-duplicate-leak into master 2024-07-02 15:56:18 +00:00

View file

@ -621,7 +621,7 @@ HttpParseHeaders(Stream * fp)
strncpy(headerValue, headerPtr, len);
HashMapSet(headers, headerKey, headerValue);
Free(HashMapSet(headers, headerKey, headerValue));
Free(headerKey);
}