From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7680 invoked by alias); 31 Mar 2003 22:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 7666 invoked by uid 71); 31 Mar 2003 22:56:01 -0000 Date: Mon, 31 Mar 2003 23:16:00 -0000 Message-ID: <20030331225601.7665.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Carlo Wood Subject: Re: libstdc++/10276: memory leak for stringstream / ios_base callback cache. Reply-To: Carlo Wood X-SW-Source: 2003-03/txt/msg02155.txt.bz2 List-Id: The following reply was made to PR libstdc++/10276; it has been noted by GNATS. From: Carlo Wood To: ehrhardt@mathematik.uni-ulm.de, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Cc: Subject: Re: libstdc++/10276: memory leak for stringstream / ios_base callback cache. Date: Tue, 1 Apr 2003 00:55:42 +0200 On Mon, Mar 31, 2003 at 05:20:22PM -0000, ehrhardt@mathematik.uni-ulm.de wrote: > Do you actually see a memory leak? As far as I can see _M_dispose_callbacks() > (called by the ios_base destructor) should free the memory. Yes. See http://gcc.gnu.org/ml/libstdc++/2003-03/msg00373.html And so does Ulrich Weigand (http://gcc.gnu.org/ml/libstdc++/2003-03/msg00338.html) and apparently Benjamin Kosnik too for 3.4 (http://gcc.gnu.org/ml/libstdc++/2003-03/msg00361.html) This PR should be assigned to Loren James Rittle I understood (http://gcc.gnu.org/ml/libstdc++/2003-03/msg00353.html). -- Carlo Wood