mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
ldb_del_value: Free key data also when removing the default attribute
This commit is contained in:
parent
d7be73eea2
commit
1938cb1e83
@ -545,12 +545,12 @@ static WERROR ldb_del_value (struct hive_key *key, const char *child)
|
||||
DEBUG(1, ("ldb_del_value: %s\n", ldb_errstring(kd->ldb)));
|
||||
return WERR_FOOBAR;
|
||||
}
|
||||
|
||||
/* reset cache */
|
||||
talloc_free(kd->values);
|
||||
kd->values = NULL;
|
||||
}
|
||||
|
||||
/* reset cache */
|
||||
talloc_free(kd->values);
|
||||
kd->values = NULL;
|
||||
|
||||
return WERR_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user