summaryrefslogtreecommitdiff
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
commit0f2347e417dec4a50f95d64353b260cd53a44a2b (patch)
tree5c8ec7e0e65436e7fe8680081ed38ee5b5fd4d79
parentfd82e3f39b71bf37a2aa0d63cc127e89fb8dd438 (diff)
downloadsamba-0f2347e417dec4a50f95d64353b260cd53a44a2b.tar.gz
samba-0f2347e417dec4a50f95d64353b260cd53a44a2b.tar.bz2
samba-0f2347e417dec4a50f95d64353b260cd53a44a2b.zip
r19338: leak on error
(This used to be commit 326389afed0521133ac07339bd5e2bfbf8d80d0a)
-rw-r--r--source4/lib/ldb/ldb_tdb/ldb_tdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c
index bd3045d477..b7a202442d 100644
--- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c
+++ b/source4/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;
}