diff options
Diffstat (limited to 'xserver/hw/xfree86/parser/Extensions.c')
-rw-r--r-- | xserver/hw/xfree86/parser/Extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/parser/Extensions.c b/xserver/hw/xfree86/parser/Extensions.c index 3a2195901..206c512ef 100644 --- a/xserver/hw/xfree86/parser/Extensions.c +++ b/xserver/hw/xfree86/parser/Extensions.c @@ -67,6 +67,8 @@ xf86parseExtensionsSection(void) case COMMENT: ptr->extensions_comment = xf86addComment(ptr->extensions_comment, xf86_lex_val.str); + free(xf86_lex_val.str); + xf86_lex_val.str = NULL; break; default: Error(INVALID_KEYWORD_MSG, xf86tokenString()); |