When processing a redirect, if we get multiple Location headers, we free
the previous one using free(new) instead of fetchFreeURL(new), which
leaks new->doc.
While here, rename new to loc since new is a reserved word in C++.
MFC after: 1 week
Differential D60015
libfetch: Correctly free redirect target Authored by des on Fri, Sep 25, 10:38 AM. Tags None Referenced Files
Subscribers
Details
When processing a redirect, if we get multiple Location headers, we free While here, rename new to loc since new is a reserved word in C++. MFC after: 1 week
Diff Detail
|