func: static void goodB2G() FILE * data ; data = NULL; data = freopen ( "BadSource_freopen.txt" , "w+" , stdin ); CWE404_Improper_Resource_Shutdown__freopen_w32CloseHandle_52b_goodB2GSink ( data ); void CWE404_Improper_Resource_Shutdown__freopen_w32CloseHandle_52b_goodB2GSink(FILE * data) CWE404_Improper_Resource_Shutdown__freopen_w32CloseHandle_52c_goodB2GSink ( data ); void CWE404_Improper_Resource_Shutdown__freopen_w32CloseHandle_52c_goodB2GSink(FILE * data) if ( data != NULL )  fclose ( data ); 