mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-05 03:00:27 +01:00
xfree86: fix not reached code in parser
...because Error is a macro that returns NULL. Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
This commit is contained in:
parent
099946a3ac
commit
f491b0aa5b
1 changed files with 2 additions and 2 deletions
|
|
@ -219,15 +219,15 @@ xf86readConfigFile (void)
|
|||
}
|
||||
else
|
||||
{
|
||||
Error (INVALID_SECTION_MSG, xf86tokenString ());
|
||||
free(val.str);
|
||||
val.str = NULL;
|
||||
Error (INVALID_SECTION_MSG, xf86tokenString ());
|
||||
}
|
||||
break;
|
||||
default:
|
||||
Error (INVALID_KEYWORD_MSG, xf86tokenString ());
|
||||
free(val.str);
|
||||
val.str = NULL;
|
||||
Error (INVALID_KEYWORD_MSG, xf86tokenString ());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue