stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r549586 - /incubator/stdcxx/trunk/src/exception.cpp
Date Thu, 21 Jun 2007 18:51:42 GMT
Author: faridz
Date: Thu Jun 21 11:51:41 2007
New Revision: 549586

URL: http://svn.apache.org/viewvc?view=rev&rev=549586
Log:
2007-06-21 Farid Zaripov <Farid_Zaripov@epam.com>

	* exception.cpp (__rw_throw): Don't delete allocated what string because of
	__rw_throw_proc() takes ownership and must delete what string.

Modified:
    incubator/stdcxx/trunk/src/exception.cpp

Modified: incubator/stdcxx/trunk/src/exception.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/exception.cpp?view=diff&rev=549586&r1=549585&r2=549586
==============================================================================
--- incubator/stdcxx/trunk/src/exception.cpp (original)
+++ incubator/stdcxx/trunk/src/exception.cpp Thu Jun 21 11:51:41 2007
@@ -827,9 +827,6 @@
 
         // throw_proc takes ownership of allocated string
         __rw_throw_proc (id, what);
-
-        // if throw_proc returns, delete allocated what string
-        __rw_free_what_buf (what);
     }
 }
 



Mime
View raw message