nsswitch: fix double free errors in nsstest.c
authorStefan Metzmacher <metze@samba.org>
Sat, 10 Feb 2018 22:54:33 +0000 (23:54 +0100)
committerRalph Boehme <slow@samba.org>
Wed, 21 Feb 2018 13:19:17 +0000 (14:19 +0100)
commitda784305e7b306664b79d30a734d45582f5bf4dd
treebda6cc6eaed4c8921c864a6e6acd9eff01a4b9f1
parent7b86b94c71268cdab434ced74caedcdd5eb20e12
nsswitch: fix double free errors in nsstest.c

We need to zero out static pointers on free.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=13283

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
nsswitch/nsstest.c