stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r590172 - /incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp
Date Tue, 30 Oct 2007 17:40:42 GMT
Author: faridz
Date: Tue Oct 30 10:40:42 2007
New Revision: 590172

URL: http://svn.apache.org/viewvc?rev=590172&view=rev
Log:
2007-10-30 Farid Zaripov <farid_zaripov@epam.com>

	Merged r583398 from trunk with a fix for STDCXX-582
	* 0.printf.cpp (test_errno): Deallocate memory allocated
	automatically by rw_snprintfa().

Modified:
    incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp

Modified: incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp?rev=590172&r1=590171&r2=590172&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp Tue Oct 30 10:40:42 2007
@@ -2254,6 +2254,8 @@
                      "rw_sprintfa(\"%%m\") == \"%s\", got \"%s\" for "
                      "errno=%d", expect, result, i);
         }
+
+        free (result);
     }
 
     //////////////////////////////////////////////////////////////////



Mime
View raw message