diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-08 22:04:23 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-07-09 09:02:44 +0200 |
commit | 514c59656152742c0c73ce65e0778f000cdd1437 (patch) | |
tree | 2df8610413d7ec3b5d549570286778312e0eebe1 /source4 | |
parent | 1c0cb365a895ce670fc32db3380cee7f129ce95b (diff) | |
download | samba-514c59656152742c0c73ce65e0778f000cdd1437.tar.gz samba-514c59656152742c0c73ce65e0778f000cdd1437.tar.bz2 samba-514c59656152742c0c73ce65e0778f000cdd1437.zip |
ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN
Since the parent DN is a duplication of the passed DN parameter.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/ldb/common/ldb_dn.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c index f81f1a4d93..847aa02f6f 100644 --- a/source4/lib/ldb/common/ldb_dn.c +++ b/source4/lib/ldb/common/ldb_dn.c @@ -1698,12 +1698,6 @@ struct ldb_dn *ldb_dn_get_parent(void *mem_ctx, struct ldb_dn *dn) return NULL; } - /* Wipe the ext_linearized DN, - * the GUID and SID are almost certainly no longer valid */ - LDB_FREE(dn->ext_linearized); - LDB_FREE(dn->ext_components); - dn->ext_comp_num = 0; - return new_dn; } |