nsswitch: Fix memory leak in test_wbc_domain_info()