summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-16 12:33:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:12 -0500
commit326389afed0521133ac07339bd5e2bfbf8d80d0a (patch)
tree0f3a428c48ab5d11affef60f5384d098e5ddaa91 /source
parentd2073c1f7e1bc674358df5da0dc09e183b4b8712 (diff)
downloadsamba-326389afed0521133ac07339bd5e2bfbf8d80d0a.tar.gz
r19338: leak on error
Diffstat (limited to 'source')
-rw-r--r--source/lib/ldb/ldb_tdb/ldb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/ldb/ldb_tdb/ldb_tdb.c b/source/lib/ldb/ldb_tdb/ldb_tdb.c
index bd3045d4776..b7a202442d1 100644
--- 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;
}