You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/05/22 18:38:05 UTC
svn commit: r659150 -
/stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp
Author: faridz
Date: Thu May 22 09:38:04 2008
New Revision: 659150
URL: http://svn.apache.org/viewvc?rev=659150&view=rev
Log:
2008-05-22 Farid Zaripov <fa...@epam.com>
* tests/strings/21.string.exceptions.cpp (user_throw): Use __rw::__rw_free_what_buf()
instead of delete[] to free what buffer.
Modified:
stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp
Modified: stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp?rev=659150&r1=659149&r2=659150&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp (original)
+++ stdcxx/branches/4.2.x/tests/strings/21.string.exceptions.cpp Thu May 22 09:38:04 2008
@@ -84,7 +84,7 @@
/* static */ void
user_throw (int ex_id, char *what)
{
- delete[] what;
+ _RW::__rw_free_what_buf (what);
#ifndef _RWSTD_NO_EXCEPTIONS