diff options
Diffstat (limited to 'source4/kdc/hdb-samba4.c')
-rw-r--r-- | source4/kdc/hdb-samba4.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index f91eeb4073..6534dbd27a 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -119,16 +119,6 @@ static krb5_error_code hdb_samba4_nextkey(krb5_context context, HDB *db, unsigne static krb5_error_code hdb_samba4_destroy(krb5_context context, HDB *db) { - struct samba_kdc_db_context *kdc_db_ctx; - - kdc_db_ctx = talloc_get_type_abort(db->hdb_db, - struct samba_kdc_db_context); - - if (kdc_db_ctx) { - talloc_free(kdc_db_ctx->samdb); - kdc_db_ctx->samdb = NULL; - } - talloc_free(db); return 0; } |