Avoid overriding default ccache for ads operations.
[kai/samba.git] / source3 / libads / ads_struct.c
index 45d00a39a3a2ea712ce1de47b6d6c1dfd6f9b6aa..fd7e417bad57317ab29fa0fb3b0dfa93f173fc77 100644 (file)
@@ -201,6 +201,7 @@ void ads_destroy(ADS_STRUCT **ads)
                SAFE_FREE((*ads)->auth.password);
                SAFE_FREE((*ads)->auth.user_name);
                SAFE_FREE((*ads)->auth.kdc_server);
+               SAFE_FREE((*ads)->auth.ccache_name);
 
                SAFE_FREE((*ads)->config.realm);
                SAFE_FREE((*ads)->config.bind_path);