diff options
Diffstat (limited to 'xserver/hw/xfree86/parser/Input.c')
-rw-r--r-- | xserver/hw/xfree86/parser/Input.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/parser/Input.c b/xserver/hw/xfree86/parser/Input.c index 88d19b6b5..6b286ec74 100644 --- a/xserver/hw/xfree86/parser/Input.c +++ b/xserver/hw/xfree86/parser/Input.c @@ -84,6 +84,8 @@ xf86parseInputSection(void) switch (token) { case COMMENT: ptr->inp_comment = xf86addComment(ptr->inp_comment, xf86_lex_val.str); + free(xf86_lex_val.str); + xf86_lex_val.str = NULL; break; case IDENTIFIER: if (xf86getSubToken(&(ptr->inp_comment)) != STRING) |