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
Showing only changes of commit b284fb607a - Show all commits

View file

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