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
|
@ -439,7 +439,7 @@ probe_devices_from_device_sections(DriverPtr drvp)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
xfree(devList);
|
||||
|
||||
return foundScreen;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user