summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2009-06-01 17:50:57 -0300
committerIngo Molnar <mingo@elte.hu>2009-06-02 03:40:58 +0200
commitc8c96525f3c25f43a4fa230e293c4976c0c36cc1 (patch)
treeae298e10131a34007bd9ea4f9985ad8b4814c014 /Documentation
parenta0055ae2a4e13db9534c438cf8f3896181da6afc (diff)
downloadop-kernel-dev-c8c96525f3c25f43a4fa230e293c4976c0c36cc1.zip
op-kernel-dev-c8c96525f3c25f43a4fa230e293c4976c0c36cc1.tar.gz
perf_counter tools: Add missing rb_erase in dso__delete_symbols
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Steven Rostedt <rostedt@goodmis.org> LKML-Reference: <20090601205057.GB7805@ghostprotocols.net> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/perf_counter/util/symbol.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/perf_counter/util/symbol.c b/Documentation/perf_counter/util/symbol.c
index 31e8fae..039931f 100644
--- a/Documentation/perf_counter/util/symbol.c
+++ b/Documentation/perf_counter/util/symbol.c
@@ -58,6 +58,7 @@ static void dso__delete_symbols(struct dso *self)
while (next) {
pos = rb_entry(next, struct symbol, rb_node);
next = rb_next(&pos->rb_node);
+ rb_erase(&pos->rb_node, &self->syms);
symbol__delete(pos, self->sym_priv_size);
}
}
OpenPOWER on IntegriCloud