Re: [PATCH v2 13/21] config: plug various memory leaks
- From
Patrick Steinhardt <ps@pks.im>
- Date
- May 24, 2024, 10:13 UTC
- Message-ID
- <ZlBoXcJr8SJFiZbc@tanuki>
- In-Reply-To
- <70e8e2651306e9d221e5e472720a7610947580a7.1716541556.git.ps@pks.im>
On Fri, May 24, 2024 at 12:04:12PM +0200, Patrick Steinhardt wrote:
> Now that memory ownership rules around `git_config_string()` and > `git_config_pathname()` are clearer, it also got easier to spot that > the returned memory needs to be free'd. Plug a subset of those cases and > mark now-passing tests as leak free.
Junio,
this mail now uses UTF-8 as encoding. Does that fix the issues for you?
Patrick