From e9e03e99009b27366dd35c659758806ff1189b73 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 22 Mar 2004 22:57:21 +0000 Subject: missed one on BUG 1195; make sure to set the private * to NULL (This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222) --- source3/nsswitch/winbindd_ads.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 8bec04f1f1..889d72293e 100644 --- a/source3/nsswitch/winbindd_ads.c +++ b/source3/nsswitch/winbindd_ads.c @@ -50,11 +50,8 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain) /* we own this ADS_STRUCT so make sure it goes away */ ads->is_mine = True; ads_destroy( &ads ); - - /* we should always be NULL here */ - SMB_ASSERT( ads == NULL ); - } - + domain->private = NULL; + } } /* we don't want this to affect the users ccache */ -- cgit