bring some freeish()ing operations ahead from after Errorish() calls

From /dev/humancontroller.
This commit is contained in:
Zack Middleton 2012-06-18 16:17:39 +00:00
parent a4c61d874d
commit af90948182
1 changed files with 1 additions and 1 deletions

View File

@ -1447,8 +1447,8 @@ void CG_LoadMenus(const char *menuFile) {
}
if ( len >= MAX_MENUDEFFILE ) {
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
trap_FS_FCloseFile( f );
trap_Error( va( S_COLOR_RED "menu file too large: %s is %i, max allowed is %i", menuFile, len, MAX_MENUDEFFILE ) );
return;
}