Re: [PATCHv2 4/5] submodule--helper, module_clone: always operate on absolute paths
On Thu, Mar 31, 2016 at 3:59 PM, Stefan Beller <sbeller@google.com> wrote:
Show 9 quoted lines
>
> Further checking reveals any caller uses it with
>
> desired= xstrdup(absolute_path(my_argument));
>
> We are loosing memory of the strbuf here. so if I we'd
> take the diff above we can also get rid of all the xstrdups
> at the callers. For now I will adhere to all other callers and use
> xstrdup(absolute_path(...) here too.
Actually there is only two occurrences of xstrdup in builtin/clone.c