mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
8 lines
138 B
C
8 lines
138 B
C
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
void double_close_bug() {
|
||
|
|
FILE *f = fopen("data.txt", "r");
|
||
|
|
fclose(f);
|
||
|
|
fclose(f); // BUG: double close
|
||
|
|
}
|