From ca7979e1a31ae33a99105fe821493fbded8c845f Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 18 Nov 2010 08:57:00 +0100 Subject: ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd --- source4/lib/ldb/common/ldb_dn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/ldb/common') 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; -- cgit