stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r449092 - /incubator/stdcxx/trunk/util/codecvt.cpp
Date Fri, 22 Sep 2006 21:16:16 GMT
Author: sebor
Date: Fri Sep 22 14:16:16 2006
New Revision: 449092

URL: http://svn.apache.org/viewvc?view=rev&rev=449092
Log:
2006-09-22  Martin Sebor  <sebor@roguewave.com>

	* codecvt.cpp (write_codecvt): Corrected delete expressions.

Modified:
    incubator/stdcxx/trunk/util/codecvt.cpp

Modified: incubator/stdcxx/trunk/util/codecvt.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/util/codecvt.cpp?view=diff&rev=449092&r1=449091&r2=449092
==============================================================================
--- incubator/stdcxx/trunk/util/codecvt.cpp (original)
+++ incubator/stdcxx/trunk/util/codecvt.cpp Fri Sep 22 14:16:16 2006
@@ -545,7 +545,7 @@
             out.write ((const char*)&off, sizeof off);
         }
 
-        delete it->second->off;
+        delete it->second;
     }
 
     // not needed beyond this point, clear it out
@@ -570,7 +570,7 @@
             out.write ((const char*)&off, sizeof off);
         }
 
-        delete it->second->off;
+        delete it->second;
     }
             
     // not needed beyond this point, clear it out
@@ -595,7 +595,7 @@
             out.write ((const char*)&off, sizeof off);
         }
 
-        delete it->second->off;
+        delete it->second;
     }
 
     // not needed beyond this point, clear it out



Mime
View raw message