s4:torture: Make sure that ctx is initialized to NULL
authorAndreas Schneider <asn@samba.org>
Wed, 10 Jun 2020 16:08:13 +0000 (18:08 +0200)
committerIsaac Boukris <iboukris@sn-devel-184>
Tue, 16 Jun 2020 09:08:34 +0000 (09:08 +0000)
commite7204f3c9ee73b3673a263d2a7e5dfb9251906f5
tree3a8ebaa98586c03912c3fbdb264237e7ab4020fa
parentde493a3e3b5b8d54f62c45072e27f2fefd4af43a
s4:torture: Make sure that ctx is initialized to NULL

If we go to done and call smbc_free_context() the pointer should be
initialized.

Found by clang.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Isaac Boukris <iboukris@samba.org>
source4/torture/libsmbclient/libsmbclient.c