void b_main_sink(_struct_type my_struct);void _main(){FILE * data;_struct_type my_struct;data=freopen("BadSource_freopen.txt","w+",stdin);fclose(data);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){FILE * data=my_struct.a;fclose(data);}
static void main(){FILE * data;_struct_type my_struct;data=freopen("BadSource_freopen.txt","w+",stdin);fclose(data);my_struct.a=data;b_main_sink(my_struct);}void b_main_sink(_struct_type my_struct){FILE * data=my_struct.a;}