[SCM] Samba Shared Repository - branch master updated - tevent-0-9-8-196-gf74e8c2
Matthias Dieter Wallnöfer
mdw at samba.org
Fri Sep 11 05:39:06 MDT 2009
The branch, master has been updated
via f74e8c266f43d0c640ab8068d28a1b197164d548 (commit)
via 049c780c598a7cbfc17e4bc8a322e180f5b5472f (commit)
from 8990865c7f5f52c615c5d571cec50d49deda7322 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f74e8c266f43d0c640ab8068d28a1b197164d548
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Sep 11 13:35:55 2009 +0200
s4:ldb_map_outbound - fix memory leak
Patch from Andrew Kroeger wasn't fully correct - we need a "talloc_free" after
the "if (ac->r_current == NULL)" statement.
commit 049c780c598a7cbfc17e4bc8a322e180f5b5472f
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date: Fri Sep 11 13:25:53 2009 +0200
netlogon.idl: indent correctly
-----------------------------------------------------------------------
Summary of changes:
librpc/idl/netlogon.idl | 2 +-
source4/lib/ldb/ldb_map/ldb_map_outbound.c | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl
index 34081e2..7ffc9f2 100644
--- a/librpc/idl/netlogon.idl
+++ b/librpc/idl/netlogon.idl
@@ -1372,7 +1372,7 @@ interface netlogon
uint32 dummy_long4;
} netr_OneDomainInfo;
- typedef [public,bitmap32bit] bitmap {
+ typedef [public,bitmap32bit] bitmap {
ENC_CRC32 = 0x00000001,
ENC_RSA_MD5 = 0x00000002,
ENC_RC4_HMAC_MD5 = 0x00000004,
diff --git a/source4/lib/ldb/ldb_map/ldb_map_outbound.c b/source4/lib/ldb/ldb_map/ldb_map_outbound.c
index 5f5be89..6a8e796 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/source4/lib/ldb/ldb_map/ldb_map_outbound.c
@@ -1261,6 +1261,8 @@ static int map_remote_search_callback(struct ldb_request *req,
return ret;
}
+ talloc_free(ares);
+
ret = map_search_local(ac);
if (ret != LDB_SUCCESS) {
return ldb_module_done(ac->req, NULL, NULL, ret);
--
Samba Shared Repository
More information about the samba-cvs
mailing list