pysmb: Rework py_smb_new() to use pytalloc_steal()
commitb784432be973d8660788b6663342d83593c89acb
authorAndrew Bartlett <abartlet@samba.org>
Tue, 1 Mar 2016 01:53:00 +0000 (1 14:53 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 15 Mar 2016 19:29:40 +0000 (15 20:29 +0100)
tree373a92b0179f94c6ebaa70d904b078d82b1bd17c
parent2b1ff1878210f475297e68c751090867ec19caeb
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>
(cherry picked from commit 05b99bed8cb4bf98de06fbbe19347efc049245c6)
source4/libcli/pysmb.c