Re: [PATCH 2/4] perf tools: Do the error path hist_entry release in hist_entry__new
From: Jiri Olsa
Date: Tue Jul 05 2016 - 02:32:24 EST
On Mon, Jul 04, 2016 at 04:09:47PM -0300, Arnaldo Carvalho de Melo wrote:
> Em Mon, Jul 04, 2016 at 04:01:37PM +0200, Jiri Olsa escreveu:
> > It's better to release the hist_entry object in
> > hist_entry__new function (where it's allocated)
> > rather than in hist_entry__init.
>
> Please combine this with the previous patch, that way this all gets
> clearer :-\
ok, will change
thanks,
jirka