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 Sep 25 2026, 10:38 AM.
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
|