commit | c9e64abc5c7ed9b55fca998532c1947ab1e8d739 | [log] [tgz] |
---|---|---|
author | Rob Bradford <rob@linux.intel.com> | Wed Dec 05 18:47:10 2012 +0000 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Thu Dec 06 22:33:08 2012 -0500 |
tree | 867054c58e343682ab497d1756ce422ece539a8c | |
parent | 546c856ade4908ccd2e3a1d9bbd1633f3fb52194 [diff] |
compositor: Cleanup if we can't find the symbol in the module
diff --git a/src/compositor.c b/src/compositor.c index d6e833f..f6c94b6 100644 --- a/src/compositor.c +++ b/src/compositor.c
@@ -3055,6 +3055,7 @@ init = dlsym(module, entrypoint); if (!init) { weston_log("Failed to lookup init function: %s\n", dlerror()); + dlclose(module); return NULL; }