mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-10 17:30:18 +01:00
Fix memory error.
This commit is contained in:
parent
27513c4fd1
commit
af21ea418b
1 changed files with 1 additions and 1 deletions
|
|
@ -1038,9 +1038,9 @@ static void dmxInputScanForExtensions(DMXInputInfo *dmxInput, int doXI)
|
|||
/* Only use XInput Extension if 2.0 or greater */
|
||||
if (ext->major_version < 2)
|
||||
{
|
||||
XFree(ext);
|
||||
dmxLogInput(dmxInput, "%s version %d.%d is too old\n",
|
||||
INAME, ext->major_version, ext->minor_version);
|
||||
XFree(ext);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue