Coverity #812: Fix parser memory leak.
This commit is contained in:
parent
49abff7995
commit
12924d0da3
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-06 Adam Jackson <ajax@freedesktop.org>
|
||||||
|
|
||||||
|
* hw/xfree86/parser/Keyboard.c:
|
||||||
|
Coverity #812: Fix parser memory leak.
|
||||||
|
|
||||||
2006-04-06 Adam Jackson <ajax@freedesktop.org>
|
2006-04-06 Adam Jackson <ajax@freedesktop.org>
|
||||||
|
|
||||||
* hw/xfree86/dixmods/extmod/xf86vmode.c:
|
* hw/xfree86/dixmods/extmod/xf86vmode.c:
|
||||||
|
|
|
@ -167,6 +167,7 @@ xf86parseKeyboardSection (void)
|
||||||
xf86conffree(s1);
|
xf86conffree(s1);
|
||||||
}
|
}
|
||||||
xf86unGetToken (token);
|
xf86unGetToken (token);
|
||||||
|
xf86conffree(s);
|
||||||
break;
|
break;
|
||||||
case SERVERNUM:
|
case SERVERNUM:
|
||||||
xf86parseWarning(OBSOLETE_MSG, xf86tokenString());
|
xf86parseWarning(OBSOLETE_MSG, xf86tokenString());
|
||||||
|
|
Loading…
Reference in New Issue