Back to index

glibc  2.9
tst-leaks.c
Go to the documentation of this file.
00001 #include <locale.h>
00002 #include <mcheck.h>
00003 
00004 int
00005 main (void)
00006 {
00007   int cnt;
00008 
00009   mtrace ();
00010 
00011   for (cnt = 0; cnt < 100; ++cnt)
00012     {
00013       setlocale (LC_ALL, "de_DE.ISO-8859-1");
00014       setlocale (LC_ALL, "de_DE.UTF-8");
00015     }
00016 
00017   return 0;
00018 }