Coverity #1216: Fix double-close of file on error.
This commit is contained in:
parent
5dacc82232
commit
843146cfba
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2006-04-06 Keith Packard <keithp@keithp.com>
|
||||||
|
|
||||||
* fb/fbstipple.c: (fbEvenStipple):
|
* fb/fbstipple.c: (fbEvenStipple):
|
||||||
|
|
|
@ -1013,7 +1013,6 @@ KeyboardRulesCallback(Widget w, XtPointer user_data, XtPointer call_data)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!XkbRF_LoadRules(fp, xkb_rules->list)) {
|
if (!XkbRF_LoadRules(fp, xkb_rules->list)) {
|
||||||
fclose(fp);
|
|
||||||
fprintf(stderr, "Can't load rules\n");
|
fprintf(stderr, "Can't load rules\n");
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
Loading…
Reference in New Issue