ldb_controls: Add some talloc error checking for controls

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13686

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit ad8bb6fc)
15 jobs for abartlet-bug-13686-v4-9 in 207 minutes and 51 seconds (queued for 1 second)
latest
Status Name Job ID Coverage
  Build
passed build_ctdb #125232659
docker shared

00:19:04

passed build_others #125232661
docker shared

00:12:14

passed build_samba #125232662
docker private

03:27:51

passed build_samba_ad_dc #125232665
docker private

01:04:52

passed build_samba_ad_dc_2 #125232656
docker shared

00:29:47

passed build_samba_ctdb #125232660
docker shared

00:36:53

passed build_samba_fileserver #125232664
docker private

00:19:14

passed build_samba_libs #125232657
docker shared

00:34:37

passed build_samba_none_env #125232651
docker shared

00:48:09

passed build_samba_nopython #125232652
docker shared

00:28:42

passed build_samba_nt4 #125232663
docker private

00:33:22

passed build_samba_o3 #125232655
docker shared

00:35:31

passed build_samba_static #125232658
docker shared

00:48:42

passed build_samba_systemkrb5 #125232653
docker shared

00:16:53

passed build_samba_xc #125232654
docker shared

00:06:09