pysmb: Rework py_smb_new() to use pytalloc_steal()
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 Mar 2016 01:53:00 +0000 (14:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Mar 2016 00:58:29 +0000 (01:58 +0100)
commit05b99bed8cb4bf98de06fbbe19347efc049245c6
tree1555bd8626e6bc2181c54990ccdd880cb74d4a12
parent9a34a1567bb9b9f4f5dc3f28d05845ed13cf31a9
pysmb: Rework py_smb_new() to use pytalloc_steal()

This avoids casting to pytalloc_Object directly

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