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 <[EMAIL PROTECTED]>

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


Reply via email to