python: Remove talloc_stackframe() held in an object
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Oct 2017 04:24:38 +0000 (17:24 +1300)
committerGarming Sam <garming@samba.org>
Mon, 20 Nov 2017 20:41:15 +0000 (21:41 +0100)
commit85f901880391edc1a4c36572661d4a9a7547dcfd
tree4b765c11a2c860d1027b40a277481bc869479776
parentd65f6dd46aabf0b432c9d8ee01d901af61e13272
python: Remove talloc_stackframe() held in an object

talloc_stackframe() must not be held after the return from a function.

If this causes warnings (talloc_tos() use without a stackframe), this
must be fixed in each function.

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