Don't leak canonical module name and patterns if module is built-in
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com> Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
9180081ec3
commit
1c101d75d4
|
@ -868,7 +868,8 @@ doLoadModule(const char *module, const char *path, const char **subdirlist,
|
||||||
if (!strcmp (m, *cim))
|
if (!strcmp (m, *cim))
|
||||||
{
|
{
|
||||||
xf86MsgVerb(X_INFO, 3, "Module \"%s\" already built-in\n", m);
|
xf86MsgVerb(X_INFO, 3, "Module \"%s\" already built-in\n", m);
|
||||||
return (ModuleDescPtr) 1;
|
ret = (ModuleDescPtr) 1;
|
||||||
|
goto LoadModule_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!name) {
|
if (!name) {
|
||||||
|
|
Loading…
Reference in New Issue