diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-04-07 01:29:39 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2006-04-07 01:29:39 +0000 |
commit | 12924d0da36ad2266bb040caac58534c07e85261 (patch) | |
tree | cf2ae87ce1229dc00b826d6aaab667cdb0beab41 /hw | |
parent | 49abff79957799e9229d5c0226ee1b0d7505003d (diff) |
Coverity #812: Fix parser memory leak.
Diffstat (limited to 'hw')
-rw-r--r-- | hw/xfree86/parser/Keyboard.c | 1 |
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()); |