fclose if not null.

This commit is contained in:
mattn
2012-12-11 11:46:30 +09:00
parent 90bd737164
commit 56026c2d4d
+2 -1
View File
@@ -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)