git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2073c1
)
r19338: leak on error
author
Simo Sorce
<idra@samba.org>
Mon, 16 Oct 2006 12:33:21 +0000
(12:33 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:21:12 +0000
(14:21 -0500)
source/lib/ldb/ldb_tdb/ldb_tdb.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/ldb_tdb/ldb_tdb.c
b/source/lib/ldb/ldb_tdb/ldb_tdb.c
index bd3045d47762bd24a166d6b4d13fe64ea8ec0868..b7a202442d101370ea14da0722458df1d6ba3260 100644
(file)
--- a/
source/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/
source/lib/ldb/ldb_tdb/ldb_tdb.c
@@
-386,6
+386,7
@@
static int ltdb_delete_internal(struct ldb_module *module, const struct ldb_dn *
ret = ltdb_modified(module, dn);
if (ret != LDB_SUCCESS) {
+ talloc_free(msg);
return LDB_ERR_OPERATIONS_ERROR;
}