From: Gerald Carter Date: Mon, 22 Mar 2004 22:57:21 +0000 (+0000) Subject: missed one on BUG 1195; make sure to set the private * to NULL X-Git-Tag: samba-4.0.0alpha6~801^2~11783 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9e03e99009b27366dd35c659758806ff1189b73;p=thirdparty%2Fsamba.git missed one on BUG 1195; make sure to set the private * to NULL (This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222) --- diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c index 8bec04f1f14..889d72293ed 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 */