pygensec: Use pytalloc_steal() in gensec_start_{client,server}()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 Mar 2016 01:19:33 +0000 (14:19 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:29 +0000 (01:58 +0100)
commitec5d63f9edcf311b581df4f37a702a54d659d443
tree6f98263ce78a69b9ab8d68161807ea0bde4df53f
parent43af1905d578ec6f374f1f67f72c37428ecd361f
pygensec: Use pytalloc_steal() in gensec_start_{client,server}()

This is better than casting to get to the pytalloc_Object structure directly

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/auth/gensec/pygensec.c