From 66e54b48ebd46b10321c2d908688e338d8ccf82d Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 22 Apr 2016 10:59:55 +0200 Subject: fix file descriptor leak reported by David Binderman --- fbtools.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fbtools.c') 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; } -- cgit