summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-22 22:57:21 +0000
committerGerald Carter <jerry@samba.org>2004-03-22 22:57:21 +0000
commit97a24d13892e292d31a1a6d7a1c96893508d6222 (patch)
tree7fce9577747a17aaf5b7cb890011b36557750663 /source/nsswitch
parent8d6e370313b62556ba13d88e1ab5ff468ac103c8 (diff)
downloadsamba-97a24d13892e292d31a1a6d7a1c96893508d6222.tar.gz
samba-97a24d13892e292d31a1a6d7a1c96893508d6222.tar.xz
samba-97a24d13892e292d31a1a6d7a1c96893508d6222.zip
missed one on BUG 1195; make sure to set the private * to NULL
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_ads.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c
index 8bec04f1f14..889d72293ed 100644
--- a/source/nsswitch/winbindd_ads.c
+++ b/source/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 */