remote.c
73.2 KB
-
remote: fix memory leak in git_remote_download() · ffc12e66
connect_opts is created with its custom_headers and proxy_opts->url possibly allocated on heap, just like in git_remote_fetch(). But unlike in _fetch(), it is not disposed at the end of the function, thus causing memory leak.
7Ji committed