Re: [PATCH 3/3] perf core: Fix a memory leak bug because symbol__delete is ignored

From: Namhyung Kim
Date: Tue Sep 03 2013 - 05:02:59 EST


On Sun, 1 Sep 2013 23:29:45 +0800, Chenggang Qin wrote:
> From: Chenggang Qin <chenggang.qcg@xxxxxxxxxx>
>
> In function symbols__fixup_duplicate(), while the duplicated symbols are found,
> only the rb_node are deleted. The symbol structures themself are ignored.
> Then, these memory areas are lost.
> This patch fixed the bug.
> Thanks.

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks,
Namhyung
--
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/