libcli: Fix a memleak
authorVolker Lendecke <vl@samba.org>
Mon, 26 May 2014 20:48:05 +0000 (20:48 +0000)
committerVolker Lendecke <vl@samba.org>
Tue, 27 May 2014 10:54:55 +0000 (12:54 +0200)
commitf52690dc68e2b2778f7c85eae64b3dc45f06409a
tree1780177aabcefe8d007bbdf952357e91435bfd05
parentb22b35e8c64dba8441ad1f915215b16d8811b6ab
libcli: Fix a memleak

struct security_ace has a struct dom_sid, not a pointer to it. So we don't have
to talloc it first and then not free it.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue May 27 12:54:55 CEST 2014 on sn-devel-104
libcli/security/security_descriptor.c