Re: [PATCH] git.c: two memory leak fixes
- From
Alexander Kuleshov <kuleshovmail@gmail.com>
- Date
- Mar 15, 2015, 11:53 UTC
- Message-ID
- <CANCZXo4rJWJohDpeb+nt3t=WBjmq14473+ynuPhvOuPd9+Vs_w@mail.gmail.com>
- In-Reply-To
- <xmqq3857vw9b.fsf@gitster.dls.corp.google.com>
Hello Junio,
>>This is technically correct, but do we really care about it?
Yes, as i saw handle_alias called once, and we no need to care about it.
>>I think it is wrong to free alias_string after passing it to >>split_cmdline() and while you still need to use the new_argv.
Yes, right. sorry for the noise.