missed one on BUG 1195; make sure to set the private * to NULL
authorGerald Carter <jerry@samba.org>
Mon, 22 Mar 2004 22:57:21 +0000 (22:57 +0000)
committerGerald Carter <jerry@samba.org>
Mon, 22 Mar 2004 22:57:21 +0000 (22:57 +0000)
(This used to be commit 97a24d13892e292d31a1a6d7a1c96893508d6222)

source3/nsswitch/winbindd_ads.c

index 8bec04f1f1499f0ca8bf90b625e4841422c99ccd..889d72293ed33548e55df4394e5a421a51fbf928 100644 (file)
@@ -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 */