summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2006-04-07 01:29:31 +0000
committerAdam Jackson <ajax@nwnk.net>2006-04-07 01:29:31 +0000
commit725622e863857df7e2eabe8db06765555fb0ae25 (patch)
treefe11620e066f83d1fb2167046715a84862bab693 /hw
parentb4bb7c10eb3e72d8e0c655bff1876046dc7d7e4d (diff)
Coverity #812: Fix parser memory leak.
Diffstat (limited to 'hw')
-rw-r--r--hw/xfree86/parser/Keyboard.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/parser/Keyboard.c b/hw/xfree86/parser/Keyboard.c
index e1f8b0508..62031f629 100644
--- a/hw/xfree86/parser/Keyboard.c
+++ b/hw/xfree86/parser/Keyboard.c
@@ -167,6 +167,7 @@ xf86parseKeyboardSection (void)
xf86conffree(s1);
}
xf86unGetToken (token);
+ xf86conffree(s);
break;
case SERVERNUM:
xf86parseWarning(OBSOLETE_MSG, xf86tokenString());