forked from Telodendria/Cytoplasm
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:
commit
c3646294f5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue