summaryrefslogtreecommitdiffstats
path: root/source4/lib/messaging/messaging.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2014-05-28 15:25:29 +0200
committerAndrew Bartlett <abartlet@samba.org>2014-05-29 01:08:25 +0200
commit256aa9b20bbc5f0005677981ab545edf7d52edd6 (patch)
tree09dc85c494a3ff4157f656348bf2b6c35c270bd3 /source4/lib/messaging/messaging.c
parent8605564f41f8f87dc4f2777294fb5abd9285e6e0 (diff)
downloadsamba-256aa9b20bbc5f0005677981ab545edf7d52edd6.tar.gz
samba-256aa9b20bbc5f0005677981ab545edf7d52edd6.tar.xz
samba-256aa9b20bbc5f0005677981ab545edf7d52edd6.zip
libcli/security: clean up and fix make_sec_desc
It currently leaks memory onto the provided talloc context on error, fix this. Use X_acl_dup() functions provided by secuity_descriptor.c, rather than the redundant secdesc.c calls. Also, use the IDL generated functions to calculate the security descriptor structure size. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/messaging/messaging.c')
0 files changed, 0 insertions, 0 deletions