The Samba-Bugzilla – Attachment 14219 Details for
Bug 13459
Memory leak in ldb 1.3.0 and above
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for master from mailing list
0001-ldb-Fix-memory-leak-on-module-context.patch (text/plain), 1011 bytes, created by
Andrew Bartlett
on 2018-06-01 04:30:24 UTC
(
hide
)
Description:
patch for master from mailing list
Filename:
MIME Type:
Creator:
Andrew Bartlett
Created:
2018-06-01 04:30:24 UTC
Size:
1011 bytes
patch
obsolete
>From 6c78935344a4f086fc209d0bd77feac0ea5894b3 Mon Sep 17 00:00:00 2001 >From: Lukas Slebodnik <lslebodn@fedoraproject.org> >Date: Sat, 21 Oct 2017 15:09:01 +0200 >Subject: [PATCH] ldb: Fix memory leak on module context > >Introduced in e8cdacc509016d9273d63faf334d9f827585c3eb > >Signed-off-by: Lukas Slebodnik <lslebodn@fedoraproject.org> >--- > lib/ldb/ldb_tdb/ldb_index.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/lib/ldb/ldb_tdb/ldb_index.c b/lib/ldb/ldb_tdb/ldb_index.c >index c71e866037c5cccba151bcd2346460de0424fe18..1d69ab27f20e0a367c982134ff16a06b044a0c8e 100644 >--- a/lib/ldb/ldb_tdb/ldb_index.c >+++ b/lib/ldb/ldb_tdb/ldb_index.c >@@ -516,9 +516,9 @@ static int ltdb_dn_list_store_full(struct ldb_module *module, > if (list->count == 0) { > ret = ltdb_delete_noindex(module, msg); > if (ret == LDB_ERR_NO_SUCH_OBJECT) { >- talloc_free(msg); >- return LDB_SUCCESS; >+ ret = LDB_SUCCESS; > } >+ talloc_free(msg); > return ret; > } > >-- >2.14.2 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13459
: 14219