diff options
author | Andreas Schneider <asn@samba.org> | 2013-02-20 10:36:52 +0100 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-02-22 16:36:14 +0100 |
commit | 32a107cfcc04aa05b4db525fcc0dd7550264dff3 (patch) | |
tree | f8dcf287b6c861a05f74e62e6c63b765da9b3303 /librpc | |
parent | 312355ad59001fcc1eaa30344d69fc8c91acebc8 (diff) | |
download | samba-32a107cfcc04aa05b4db525fcc0dd7550264dff3.tar.gz samba-32a107cfcc04aa05b4db525fcc0dd7550264dff3.tar.bz2 samba-32a107cfcc04aa05b4db525fcc0dd7550264dff3.zip |
ndrdump: Don't leak plugin handle on error.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/tools/ndrdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c index 7247d80300..692e655948 100644 --- 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; } |