Can the following code result in undefined behavior?
FILE *fp;
fopen_s(&fp, "abc.bin", "rb");
fclose(fp);
fclose(fp); // accidentally closed an already closed file.
I know that calling free on an already freed up array results in UB. Hence I ask.