X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-striconv.c;h=f39f142f3ebf298f62b07d188d6cdb06bea4e868;hb=9cedf3e1ac7dbdddefb7e172156e9000de7d80c2;hp=5c97c4ae0ba108cdff10a5e72edfb55141f04b91;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/tests/test-striconv.c b/tests/test-striconv.c index 5c97c4ae0..f39f142f3 100644 --- a/tests/test-striconv.c +++ b/tests/test-striconv.c @@ -1,5 +1,5 @@ /* Test of character set conversion. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -35,6 +35,7 @@ if (!(expr)) \ { \ fprintf (stderr, "%s:%d: assertion failed\n", __FILE__, __LINE__); \ + fflush (stderr); \ abort (); \ } \ } \ @@ -102,8 +103,7 @@ main () &result, &length); ASSERT (retval == 0); ASSERT (length == 0); - if (result != NULL) - free (result); + free (result); } /* ------------------------- Test str_cd_iconv() ------------------------- */