mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-25 14:10:06 +01:00
probe_devices_from_device_sections: don't leak list of devices
xf86MatchDevice returned malloc'd storage containing the list of devices to look at; make sure that gets freed. Signed-off-by: Keith Packard <keithp@keithp.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
8b5086250a
commit
54f15a4141
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ probe_devices_from_device_sections(DriverPtr drvp)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
xfree(devList);
|
||||
|
||||
return foundScreen;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue