git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e8a975
)
s4-lib: Don't leak plugin handle on error.
author
Andreas Schneider
<asn@samba.org>
Wed, 20 Feb 2013 09:42:54 +0000
(10:42 +0100)
committer
Alexander Bokovoy
<ab@samba.org>
Fri, 22 Feb 2013 15:36:14 +0000
(16:36 +0100)
Reviewed-by: Alexander Bokovoy <ab@samba.org>
source4/lib/com/tables.c
patch
|
blob
|
history
diff --git
a/source4/lib/com/tables.c
b/source4/lib/com/tables.c
index f56e1c3f1887671ff05c20cf79e2b8ea4d392c99..842067e8a54b65a7998960310dc952e24d3d417e 100644
(file)
--- 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;
}