Commit 843146cf authored by Daniel Stone's avatar Daniel Stone

Coverity #1216: Fix double-close of file on error.

parent 5dacc822
2006-04-07 Daniel Stone <daniel@freedesktop.org>
* hw/xfree86/utils/xorgcfg/keyboard-cfg.c:
Coverity #1216: Fix double-close of file on error.
2006-04-06 Keith Packard <keithp@keithp.com>
* fb/fbstipple.c: (fbEvenStipple):
......
......@@ -1013,7 +1013,6 @@ KeyboardRulesCallback(Widget w, XtPointer user_data, XtPointer call_data)
}
if (!XkbRF_LoadRules(fp, xkb_rules->list)) {
fclose(fp);
fprintf(stderr, "Can't load rules\n");
}
fclose(fp);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment