From: Rob Bradford <[email protected]>
---
src/compositor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compositor.c b/src/compositor.c
index b29d697..9f8fed6 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -3089,6 +3089,7 @@ load_module(const char *name, const char *entrypoint)
init = dlsym(module, entrypoint);
if (!init) {
weston_log("Failed to lookup init function: %s\n", dlerror());
+ dlclose(module);
return NULL;
}
--
1.7.11.7
_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel