Fix HTTP header leakage #39

Merged
jordan merged 1 commits from lda/Cytoplasm:fix-duplicate-leak into master 2024-07-02 11:56:18 -04:00
1 changed files with 1 additions and 1 deletions

View File

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