Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 17681 invoked from network); 9 May 2006 01:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 01:55:29 -0000 Received: (qmail 83998 invoked by uid 500); 9 May 2006 01:55:29 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 83977 invoked by uid 500); 9 May 2006 01:55:29 -0000 Mailing-List: contact stdcxx-commits-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-commits@incubator.apache.org Received: (qmail 83964 invoked by uid 99); 9 May 2006 01:55:28 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 18:55:28 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 08 May 2006 18:55:28 -0700 Received: (qmail 17585 invoked by uid 65534); 9 May 2006 01:55:07 -0000 Message-ID: <20060509015507.17584.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r405271 - /incubator/stdcxx/trunk/tests/self/0.char.cpp Date: Tue, 09 May 2006 01:55:07 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: sebor Date: Mon May 8 18:55:06 2006 New Revision: 405271 URL: http://svn.apache.org/viewcvs?rev=405271&view=rev Log: 2006-05-08 Martin Sebor * char.cpp (test_rw_expand): Plugged benign memory leaks. Modified: incubator/stdcxx/trunk/tests/self/0.char.cpp Modified: incubator/stdcxx/trunk/tests/self/0.char.cpp URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/tests/self/0.char.cpp?rev=405271&r1=405270&r2=405271&view=diff ============================================================================== --- incubator/stdcxx/trunk/tests/self/0.char.cpp (original) +++ incubator/stdcxx/trunk/tests/self/0.char.cpp Mon May 8 18:55:06 2006 @@ -519,6 +519,7 @@ int (str_size), str, str_size, \ int (exp_size), expstr, exp_size, \ int (len), res, len); \ + delete[] res; \ } while (0) TEST ("", ""); @@ -566,6 +567,7 @@ int (str_size), str, str_size, \ int (exp_size), expstr, exp_size, \ int (len), res, len); \ + delete[] res; \ } while (0) TEST ("", L"");