git.samba.org
/
kai
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ndrdump: Don't leak plugin handle on error.
[kai/samba-autobuild/.git]
/
librpc
/
tools
/
ndrdump.c
diff --git
a/librpc/tools/ndrdump.c
b/librpc/tools/ndrdump.c
index 7247d8030091ec41295ce966eff6126d61c5a3b2..692e6559480cafecaf1ba3105e71725c641394a8 100644
(file)
--- a/
librpc/tools/ndrdump.c
+++ b/
librpc/tools/ndrdump.c
@@
-117,6
+117,7
@@
static const struct ndr_interface_table *load_iface_from_plugin(const char *plug
if (!p) {
printf("%s: Unable to find DCE/RPC interface table for '%s': %s\n", plugin, pipe_name, dlerror());
talloc_free(symbol);
+ dlclose(handle);
return NULL;
}