Re: [PATCH v3/GSoC 2/5] path.c: implement xdg_runtime_dir()
From: 惠轶群 <hidden>
Date: 2016-06-15 23:09:04
2016-03-26 1:59 GMT+08:00 Jeff King [off-list ref]:
On Fri, Mar 25, 2016 at 10:21:48PM +0800, 惠轶群 wrote:quoted
quoted
There are some minor English problems here (and elsewhere). E.g., you probably want "So we just issue a warning and leave it to the user to solve.".Sorry for my English.Thanks. And sorry if that sounded too harsh. I know that working in a non-native language is tough. Usually in a review I'll try to provide specific English fixes, but in this case, I think a lot of these messages are still in flux, so I I didn't want to waste either of our time going over specifics if the content is just going to change later.quoted
quoted
These ones leak, too.I will deal with it. I find there are some similar leakage in this file. I'll fix them in another patch.Great, thanks.
After read the source code of strbuf more carefully, I get the conclusion that if a strbuf is initialized with STRBUF_INIT but is not used, there is no need to release it. Is it true?
-Peff