s3/lib: Use ms_fnmatch_protocol in mask_match
commitb4ed72a2d3b08128ee03202512914cfbe21b6c91
authorVolker Lendecke <vl@samba.org>
Tue, 25 Oct 2016 10:28:44 +0000 (25 12:28 +0200)
committerRalph Boehme <slow@samba.org>
Sun, 22 Jan 2017 17:30:12 +0000 (22 18:30 +0100)
tree22ae335400526c5d5660880acef34825b216facd
parentf969be54417a0d4d2bab0f854ce1c9f9d4639711
s3/lib: Use ms_fnmatch_protocol in mask_match

This avoids the talloc/free through push_ucs2_talloc

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/lib/util.c