summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-22 17:46:38 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:43:59 -0500
commit784f11bd85cba85773e90ab56d97cc3f9fd70943 (patch)
tree81afe0cd4aab017b0cbae34e6294f489383b0be6 /source4/lib/ldb
parent0ee01e6fc24fa63daf292b7f358ea627894c1592 (diff)
downloadsamba-784f11bd85cba85773e90ab56d97cc3f9fd70943.tar.gz
samba-784f11bd85cba85773e90ab56d97cc3f9fd70943.tar.bz2
samba-784f11bd85cba85773e90ab56d97cc3f9fd70943.zip
r20952: when a component is changed we need to rebuild the linearized string
metze (This used to be commit beb816fb78ec4a7816680611af6619740e159424)
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 0649626d61..93f466c72d 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -1421,6 +1421,7 @@ int ldb_dn_set_component(struct ldb_dn *dn, int num, const char *name, const str
dn->valid_case = false;
}
LDB_FREE(dn->casefold);
+ LDB_FREE(dn->linearized);
return LDB_SUCCESS;
}