Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759348AbZFAUvf (ORCPT ); Mon, 1 Jun 2009 16:51:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758867AbZFAUvU (ORCPT ); Mon, 1 Jun 2009 16:51:20 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58768 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758853AbZFAUvT (ORCPT ); Mon, 1 Jun 2009 16:51:19 -0400 Date: Mon, 1 Jun 2009 17:50:57 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Mike Galbraith , Peter Zijlstra , Paul Mackerras , Thomas Gleixner , Steven Rostedt , Linux Kernel Mailing List Subject: [PATCH tip 2/2] perf_counter tools: Add missing rb_erase in dso__delete_symbols Message-ID: <20090601205057.GB7805@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: http://oops.ghostprotocols.net:81/blog User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 904 Lines: 25 Signed-off-by: Arnaldo Carvalho de Melo --- Documentation/perf_counter/util/symbol.c | 1 + 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); } } -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/