func: static void goodG2B() wchar_t * data ; while ( 1 )  data = ( wchar_t * ) malloc ( 100 * sizeof ( wchar_t ) ); SNPRINTF ( data , 100 , L "%s" , source ) printWLine ( data ); void printWLine (const wchar_t * line) if ( line != NULL )  wprintf ( L "%ls\n" , line ) free ( data ); 