Coverity #812: Fix parser memory leak.

This commit is contained in:
Adam Jackson 2006-04-07 01:29:39 +00:00
parent 49abff7995
commit 12924d0da3
2 changed files with 6 additions and 0 deletions

View File

@ -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>
* hw/xfree86/dixmods/extmod/xf86vmode.c:

View File

@ -167,6 +167,7 @@ xf86parseKeyboardSection (void)
xf86conffree(s1);
}
xf86unGetToken (token);
xf86conffree(s);
break;
case SERVERNUM:
xf86parseWarning(OBSOLETE_MSG, xf86tokenString());