summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-18 08:57:00 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-18 09:02:21 +0100
commitca7979e1a31ae33a99105fe821493fbded8c845f (patch)
tree0a6ef49b8aec9d6a4b097f77e0c2c6d21d1b83be /source4/lib/ldb
parent1c4807a62f2a7c4199079b7ab13ed6a4b121ff09 (diff)
downloadsamba-ca7979e1a31ae33a99105fe821493fbded8c845f.tar.gz
samba-ca7979e1a31ae33a99105fe821493fbded8c845f.tar.bz2
samba-ca7979e1a31ae33a99105fe821493fbded8c845f.zip
ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd
Diffstat (limited to 'source4/lib/ldb')
-rw-r--r--source4/lib/ldb/common/ldb_dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index a17d5166b1..9bf8658462 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -729,7 +729,7 @@ static bool ldb_dn_explode(struct ldb_dn *dn)
return true;
failed:
- LDB_FREE(dn->components);
+ LDB_FREE(dn->components); /* "data" is implicitly free'd */
dn->comp_num = 0;
LDB_FREE(dn->ext_components);
dn->ext_comp_num = 0;