source4/provision: fix talloc_steal on unallocated memory
commit7796364d623011343c3f19c3167a41ab569eaea0
authorGary Lockyer <gary@catalyst.net.nz>
Tue, 23 May 2017 02:13:14 +0000 (23 14:13 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 25 May 2017 00:25:13 +0000 (25 02:25 +0200)
treeed72290d8006f9d3e82afa4abe6c10e4c8edd30f
parent468dc02e84fedbfae2b297f716cb60dec2981ed5
source4/provision: fix talloc_steal on unallocated memory

The caller will steal *error_string on failure, if it
is not NULL.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/param/provision.c