stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r659598 - /stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp
Date Fri, 23 May 2008 17:04:43 GMT
Author: faridz
Date: Fri May 23 10:04:42 2008
New Revision: 659598

URL: http://svn.apache.org/viewvc?rev=659598&view=rev
Log:
2008-05-23  Farid Zaripov  <farid_zaripov@epam.com>

	Merged r659150 from branches/4.2.x.
	* 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.3.x/tests/strings/21.string.exceptions.cpp   (contents, props changed)

Modified: stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp?rev=659598&r1=659597&r2=659598&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp (original)
+++ stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp Fri May 23 10:04:42 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
 

Propchange: stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: stdcxx/branches/4.3.x/tests/strings/21.string.exceptions.cpp
------------------------------------------------------------------------------
    svn:keywords = Id



Mime
View raw message