Skip to content

Commit

Permalink
Fix a10c7f740eb1e3ce11c11c8ca7c231e55412441f to actually close the fi…
Browse files Browse the repository at this point in the history
…lehandle on error.
  • Loading branch information
buginator committed Oct 19, 2010
1 parent baab97f commit 0c4de91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map.c
Expand Up @@ -789,7 +789,7 @@ BOOL mapLoad(char *filename)
if (width <=1 || height <=1)
{
debug(LOG_ERROR, "Map is too small : %u, %u", width, height);
return false;
goto failure;
}

/* See if this is the first time a map has been loaded */
Expand Down

0 comments on commit 0c4de91

Please sign in to comment.