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

2013-10-10 Thread Chenggang Qin
From: Chenggang Qin 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. Cc: David Ahern Cc: Peter Zijlstra Cc: Paul Macker

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

2013-09-03 Thread Namhyung Kim
On Sun, 1 Sep 2013 23:29:45 +0800, Chenggang Qin wrote: > From: Chenggang Qin > > 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

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

2013-09-01 Thread Chenggang Qin
From: Chenggang Qin 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. Cc: David Ahern Cc: Peter Zijlstra Cc: Paul Macker