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