Re: [PATCH v2 01/22] remote: plug memory leak when aliasing URLs
Patrick Steinhardt <ps@pks.im> writes:
Show 8 quoted lines
> When we have a `url.*.insteadOf` configuration, then we end up aliasing
> URLs when populating remotes. One place where this happens is in
> `alias_all_urls()`, where we loop through all remotes and then alias
> each of their URLs. The actual aliasing logic is then contained in
> `alias_url()`, which returns an allocated string that contains the new
> URL. This URL replaces the old URL that we have in the strvec that
> contanis all remote URLs.
>
s/contanis/contains
[snip]