func: static void goodB2G() FILE * data ; CWE404_Improper_Resource_Shutdown__fopen_w32_close_67_structType myStruct ; data = NULL; data = fopen ( "BadSource_fopen.txt" , "w+" ); myStruct . structFirst = data; CWE404_Improper_Resource_Shutdown__fopen_w32_close_67b_goodB2GSink ( myStruct ); void CWE404_Improper_Resource_Shutdown__fopen_w32_close_67b_goodB2GSink(CWE404_Improper_Resource_Shutdown__fopen_w32_close_67_structType myStruct) FILE * data = myStruct . structFirst ; if ( data != NULL )  fclose ( data ); 