xserver: Branch 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Wed Apr 1 16:05:45 PDT 2009
hw/xfree86/loader/loadmod.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 1c101d75d4855b2698e3fc8d2dd662f20585812f
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date: Thu Mar 26 22:25:08 2009 -0700
Don't leak canonical module name and patterns if module is built-in
Signed-off-by: Alan Coopersmith <alan.coopersmith at sun.com>
Acked-by: Peter Hutterer <peter.hutterer at who-t.net>
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index dbf6c2e..fccb3b1 100644
--- a/hw/xfree86/loader/loadmod.c
+++ b/hw/xfree86/loader/loadmod.c
@@ -868,7 +868,8 @@ doLoadModule(const char *module, const char *path, const char **subdirlist,
if (!strcmp (m, *cim))
{
xf86MsgVerb(X_INFO, 3, "Module \"%s\" already built-in\n", m);
- return (ModuleDescPtr) 1;
+ ret = (ModuleDescPtr) 1;
+ goto LoadModule_exit;
}
if (!name) {
More information about the xorg-commit
mailing list