aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fbtools.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fbtools.c b/fbtools.c
index 29579ab..297b8d2 100644
--- a/fbtools.c
+++ b/fbtools.c
@@ -198,6 +198,7 @@ fb_setmode(char *name)
return 0;
}
}
+ fclose(fp);
return -1;
}