The branch, master has been updated via 9b265a6... s4-ldif: Fix memory leek in ldb_ldif_write() from 21d3aa8... packaging(RHEL-CTDB): package dbwrap_tool and dbwrap_torture in the common pkg
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 9b265a68ccf74a03bff946bc10f96a38045c923a Author: Kamen Mazdrashki <kamen.mazdras...@postpath.com> Date: Sat Dec 5 22:49:59 2009 +0200 s4-ldif: Fix memory leek in ldb_ldif_write() ----------------------------------------------------------------------- Summary of changes: source4/lib/ldb/common/ldb_ldif.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) Changeset truncated at 500 lines: diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c index b7ab730..888761e 100644 --- a/source4/lib/ldb/common/ldb_ldif.c +++ b/source4/lib/ldb/common/ldb_ldif.c @@ -373,6 +373,8 @@ int ldb_ldif_write(struct ldb_context *ldb, ret = fprintf_fn(private_data,"\n"); CHECK_RET; + talloc_free(mem_ctx); + return total; } -- Samba Shared Repository