libcli/secdesc: replace dup_sec_desc() usage
commit23a95931d3b868c6e6bcda0c214be6a12434ae8b
authorDavid Disseldorp <ddiss@samba.org>
Mon, 26 May 2014 13:48:34 +0000 (26 15:48 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 28 May 2014 15:52:13 +0000 (28 17:52 +0200)
treeb06d9a76e802f18357196b8ea78c88ec52004381
parentb7caabdb9e21974159e8a99e9741fafd8e7bdf2d
libcli/secdesc: replace dup_sec_desc() usage

Use security_descriptor_copy() instead, which is also provided by
libcli.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/security/secdesc.c