From stdcxx-dev-return-5410-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Wed Oct 10 09:31:12 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 90627 invoked from network); 10 Oct 2007 09:31:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 09:31:12 -0000 Received: (qmail 39392 invoked by uid 500); 10 Oct 2007 09:31:00 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 39376 invoked by uid 500); 10 Oct 2007 09:31:00 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 39364 invoked by uid 99); 10 Oct 2007 09:30:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 02:30:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 09:31:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5FFC6714201 for ; Wed, 10 Oct 2007 02:30:51 -0700 (PDT) Message-ID: <14321306.1192008651390.JavaMail.jira@brutus> Date: Wed, 10 Oct 2007 02:30:51 -0700 (PDT) From: "Farid Zaripov (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-582) purify reports memory leak in _rw_bufcat from 0.printf test In-Reply-To: <20855344.1191968691144.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533680 ] Farid Zaripov commented on STDCXX-582: -------------------------------------- Commited thus: http://svn.apache.org/viewvc?rev=583398&view=rev > purify reports memory leak in _rw_bufcat from 0.printf test > ----------------------------------------------------------- > > Key: STDCXX-582 > URL: https://issues.apache.org/jira/browse/STDCXX-582 > Project: C++ Standard Library > Issue Type: Improvement > Components: Tests > Reporter: Travis Vitek > Assignee: Travis Vitek > Priority: Trivial > Fix For: 4.2.1 > > Attachments: stdcxx-582.patch > > > The function test_errno() doesn't deallocate memory allocated inside rw_sprintfa(). > MLK: 11618 bytes leaked in 256 blocks > * This memory was allocated from: > malloc [rtlib.o] > _rw_bufcat(Buffer&, char const*, unsigned) [printf.cpp:475] > _rw_fmtstr(FmtSpec const&, Buffer&, char const*, unsigned) [printf.cpp:2399] > _rw_fmterrno(FmtSpec const&, Buffer&, int) [fmt_bits.cpp:1006] > _rw_vasnprintf_c99(FmtSpec*, unsigned, Buffer&, VarArgs*) [printf.cpp:612] > _rw_pvasnprintf(Buffer&, char const*, VarArgs*) [printf.cpp:901] > * Block of 104 bytes at 0x8162138 > * Block of 100 bytes at 0x8161fe0 > * Block of 96 bytes at 0x8162de0 > * Block of 92 bytes at 0x81621f0 > * Block of 86 bytes at 0x8162800 > * Block of 84 bytes at 0x8162c98 > * Block of 82 bytes at 0x8161e00 > [snipped] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.