Fixed a resource leak in win/win.c.
This commit is contained in:
@@ -267,6 +267,11 @@ CreateConsole(int init)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (fp != NULL) {
|
||||
fclose(fp);
|
||||
fp = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user