git.samba.org
/
nivanova
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4807a
)
ldb:ldb_dn_explode - point out that on error cases "data" is implicitly free'd
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 18 Nov 2010 07:57:00 +0000
(08:57 +0100)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Thu, 18 Nov 2010 08:02:21 +0000
(09:02 +0100)
source4/lib/ldb/common/ldb_dn.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_dn.c
b/source4/lib/ldb/common/ldb_dn.c
index a17d5166b1c1d8693679b2a1069e8eea4a41e328..9bf8658462174cf1865772e5ffd8c1c520970600 100644
(file)
--- 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;