xserver: Branch 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Thu Jan 25 06:20:49 EET 2007
hw/xfree86/loader/loadmod.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
New commits:
diff-tree cf7ca9d09cba14d107152a5179de38e5ef7bd784 (from 5abd50e37ceda134897891ed32e05215db67e0b4)
Author: Alan Coopersmith <alan.coopersmith at sun.com>
Date: Wed Jan 24 20:20:48 2007 -0800
Plug memory leak in doLoadModule()
diff --git a/hw/xfree86/loader/loadmod.c b/hw/xfree86/loader/loadmod.c
index 12f5dc9..ec0f181 100644
--- a/hw/xfree86/loader/loadmod.c
+++ b/hw/xfree86/loader/loadmod.c
@@ -903,7 +903,7 @@ doLoadModule(const char *module, const c
* check the elements in the path
*/
if (PathIsAbsolute(module))
- xstrdup(module);
+ found = xstrdup(module);
path_elem = pathlist;
while (!found && *path_elem != NULL) {
found = FindModule(m, *path_elem, subdirlist, patterns);
More information about the xorg-commit
mailing list