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 2007/10/30 18:40:42 UTC

svn commit: r590172 - /incubator/stdcxx/branches/4.2.x/tests/self/0.printf.cpp

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 <fa...@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);
     }
 
     //////////////////////////////////////////////////////////////////