]> git.ipfire.org Git - thirdparty/samba.git/commit
pidl:Python: handle NTSTATUS/WERROR exceptions first
authorStefan Metzmacher <metze@samba.org>
Tue, 28 Jan 2025 13:56:54 +0000 (14:56 +0100)
committerDouglas Bagnall <dbagnall@samba.org>
Wed, 29 Jan 2025 01:14:40 +0000 (01:14 +0000)
commit67c35d6b4ef6b7dbe9db3c52547b25580cd4756c
tree535b34fdea10895ecd5c1bdf85f1f72d5377cbd9
parent13d9231800ea969675f3207cd2c863e433104b4d
pidl:Python: handle NTSTATUS/WERROR exceptions first

If we raise an exception we should not leak temporary
python objects.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14213

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
pidl/lib/Parse/Pidl/Samba4/Python.pm