Merge pull request 'Fix HTTP header leakage' (#39) from lda/Cytoplasm:fix-duplicate-leak into master

Reviewed-on: Telodendria/Cytoplasm#39
This commit is contained in:
Jordan Bancino 2024-07-02 11:56:18 -04:00
commit c3646294f5

View file

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