r20952: when a component is changed we need to rebuild the linearized string
authorStefan Metzmacher <metze@samba.org>
Mon, 22 Jan 2007 17:46:38 +0000 (17:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:43:59 +0000 (14:43 -0500)
metze

source/lib/ldb/common/ldb_dn.c

index 0649626d61a5639144d2fd24eda518316cb030fd..93f466c72dc1e5c7aa270627a666ca4897e12ddb 100644 (file)
@@ -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;
 }