diff options
author | Egbert Eich <eich@freedesktop.org> | 2011-05-23 11:35:10 +0200 |
---|---|---|
committer | Luc Verhaegen <libv@skynet.be> | 2011-05-23 14:29:17 +0200 |
commit | 4977111db4a7990873a38b1e2cf6c8aafe431d6f (patch) | |
tree | 78bfa13246b9016b5f9c1d1e71a4b9553cda7f93 | |
parent | 3e2dd0afb9719295454d8d879d6f5ffde0755253 (diff) |
crtc/edid: Close fd before fd gets out of scope.
Signed-off-by: Egbert Eich <eich@freedesktop.org>
-rw-r--r-- | src/via_crt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/via_crt.c b/src/via_crt.c index 6c79292..0429e5a 100644 --- a/src/via_crt.c +++ b/src/via_crt.c @@ -154,6 +154,8 @@ CRTGetOptions(struct ViaOutput *Output) __func__, EDIDFileName, strerror(errno)); else Output->EDID = xf86InterpretEDID(Output->scrnIndex, Block); + + fclose(EDIDFile); } } |