From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10720 invoked by alias); 15 Sep 2008 00:06:27 -0000 Received: (qmail 10712 invoked by uid 22791); 15 Sep 2008 00:06:26 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 Sep 2008 00:05:12 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m8F03Waq024755; Sun, 14 Sep 2008 20:03:52 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8F03KfX012299; Sun, 14 Sep 2008 20:03:21 -0400 Received: from opsy.redhat.com (vpn-10-15.bos.redhat.com [10.16.10.15]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m8F03JOI012105; Sun, 14 Sep 2008 20:03:19 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 15D7188803A; Sun, 14 Sep 2008 18:03:20 -0600 (MDT) To: Thiago Jung Bauermann Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: RFA: fix minor memory leak in symfile.c References: <20080913171723.GH3714@adacore.com> <20080913223455.GB19625@adacore.com> <1221433676.17278.1.camel@localhost.localdomain> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Mon, 15 Sep 2008 00:06:00 -0000 In-Reply-To: <1221433676.17278.1.camel@localhost.localdomain> (Thiago Jung Bauermann's message of "Sun\, 14 Sep 2008 20\:07\:56 -0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00325.txt.bz2 >>>>> "Thiago" == Thiago Jung Bauermann writes: >> I also changed a use of asprintf, because gdbint.texinfo clearly >> states that this function is not to be used. (It is the only use in >> gdb.) Thiago> When I added that use of asprintf, I checked that libiberty provides it Thiago> if the underlying OS doesn't. I thought we could use anything covered by Thiago> libiberty. Maybe not? No, I'm sure that is ok -- this just means that gdbint.texinfo is out of date. Tom