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/10 11:16:20 UTC
svn commit: r583398 - /incubator/stdcxx/trunk/tests/self/0.printf.cpp
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 <vi...@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);
}
//////////////////////////////////////////////////////////////////