python: samba.gensec: Fix error handling in set_credentials() function
authorLumir Balhar <lbalhar@redhat.com>
Mon, 30 Jan 2017 13:18:46 +0000 (14:18 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 10 Mar 2017 06:31:12 +0000 (07:31 +0100)
commit0672fc145aad731c8771746d1d7c9881b48e3522
tree3416c10e2c429d72b30c18ad6eac158d0baaf3de
parentd0914e271305d48cfdf6908ee46a1e8a56aefa0a
python: samba.gensec: Fix error handling in set_credentials() function

Add `return NULL;` to error handling part of `set_credentials()`
function.

Signed-off-by: Lumir Balhar <lbalhar@redhat.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/auth/gensec/pygensec.c