mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 10:27:23 +00:00
67a78e84a81571cedaf7fd214a21ce1bbdc4fb3b
This reverts commit3abce3ea2band6cbaf15e61. The memory returned to xf86LoadModule was allocated in doLoadModule, which calls the respective module's PreInit. As it turns out, input and output drivers store a pointer to the module elswhere, so freeing it in xf86LoadModule is a bad idea. For further reference: hw/xfree86/common/xf86Helper.c Input drivers: xf86InputDriverList[blah]->module = module; Output drivers: xf86DriverList[blah]->module = module; Unloading the module would not look pretty then.
Description
Truly free fork of the XOrg project.
Languages
C
96.4%
Roff
1.1%
Objective-C
1%
Meson
0.9%
Shell
0.2%
Other
0.2%