mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
a20c4b183d
DBG_DEBUG only calls its arguments if required according to the debug level. A simple talloc_new/TALLOC_FREE in the normal case should be much cheaper than the full sddl_encode(). I just stumbled across this code, this is has not shown up in any profiles. I just think it's cleaner this way. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>