summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/com/tables.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/com/tables.c b/source4/lib/com/tables.c
index f56e1c3f18..842067e8a5 100644
--- a/source4/lib/com/tables.c
+++ b/source4/lib/com/tables.c
@@ -69,6 +69,7 @@ static struct IUnknown *get_com_class_so(TALLOC_CTX *mem_ctx, const struct GUID
f = dlsym(mod, "get_class_object");
if (!f) {
+ dlclose(mod);
return NULL;
}