stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r583398 - /incubator/stdcxx/trunk/tests/self/0.printf.cpp
Date Wed, 10 Oct 2007 09:16:20 GMT
Author: faridz
Date: Wed Oct 10 02:16:19 2007
New Revision: 583398

URL: http://svn.apache.org/viewvc?rev=583398&view=rev
Log:
2007-10-10 Travis Vitek <vitek@roguewave.com>

	STDCXX-582
	* 0.printf.cpp (test_errno): Deallocate memory allocated
	automatically by rw_snprintfa().

Modified:
    incubator/stdcxx/trunk/tests/self/0.printf.cpp

Modified: incubator/stdcxx/trunk/tests/self/0.printf.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/self/0.printf.cpp?rev=583398&r1=583397&r2=583398&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/self/0.printf.cpp (original)
+++ incubator/stdcxx/trunk/tests/self/0.printf.cpp Wed Oct 10 02:16:19 2007
@@ -2254,6 +2254,8 @@
                      "rw_sprintfa(\"%%m\") == \"%s\", got \"%s\" for "
                      "errno=%d", expect, result, i);
         }
+
+        free (result);
     }
 
     //////////////////////////////////////////////////////////////////



Mime
View raw message