Re: [PATCHv3 3/6] line-log.c: fix a memleak
- From
Stefan Beller <stefanbeller@gmail.com>
- Date
- Mar 31, 2015, 05:35 UTC
- Message-ID
- <551A323F.9030305@gmail.com>
- In-Reply-To
- <xmqqsiclsqlz.fsf@gitster.dls.corp.google.com>
On 30.03.2015 22:06, Junio C Hamano wrote:
> If add-line-range does not take ownership of > parent_range from us, shouldn't we be freeing it whether we called > it or not???
In my understanding it does take ownership of it. (According to my code review on friday)