Re: [PATCH] perf tools: Fix __machine__findnew_thread() error path

From: Jiri Olsa
Date: Fri Jan 09 2015 - 05:19:47 EST


On Fri, Jan 09, 2015 at 09:38:12AM +0900, Namhyung Kim wrote:
> When thread__init_map_groups() fails, a new thread should be removed
> from the rbtree since it's gonna be freed. Also update last match cache
> only if the function succeeded.
>
> Reported-by: David Ahern <dsahern@xxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/