Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fclose if not null.

  • Loading branch information...
commit 56026c2d4d8eb302b6cf4acaee357dc1180a9bbd 1 parent 90bd737
@mattn mattn authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mrbgems/generator.c
View
3  mrbgems/generator.c
@@ -184,7 +184,8 @@ for_each_gem (char before[1024], char after[1024],
skip = FALSE;
else
skip = TRUE;
- fclose(check);
+ if (check)
+ fclose(check);
}
if (skip == FALSE)
Please sign in to comment.
Something went wrong with that request. Please try again.