The Samba-Bugzilla – Attachment 11813 Details for
Bug 11708
Memory leak in loadparm module.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am fix for 4.4.x, 4.3.x, 4.2.x
0001-loadparm-Fix-memory-leak-issue.patch (text/plain), 1.27 KB, created by
Jeremy Allison
on 2016-02-08 20:54:49 UTC
(
hide
)
Description:
git-am fix for 4.4.x, 4.3.x, 4.2.x
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2016-02-08 20:54:49 UTC
Size:
1.27 KB
patch
obsolete
>From af8ddd16367bc3cdc67b89f9484251834303471b Mon Sep 17 00:00:00 2001 >From: Hemanth Thummala <hemanth.thummala@nutanix.com> >Date: Tue, 2 Feb 2016 10:33:20 -0800 >Subject: [PATCH] loadparm: Fix memory leak issue. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=11708 > >Signed-off-by: Hemanth Thummala <hemanth.thummala@nutanix.com> >Reviewed-by: Alexander Bokovoy <ab@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> > >Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> >Autobuild-Date(master): Thu Feb 4 12:39:14 CET 2016 on sn-devel-144 > >(cherry picked from commit 8247d93701ed838190fe74044a63a56d63d37bf5) >--- > source3/param/loadparm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c >index 31d9e2d..fb92230 100644 >--- a/source3/param/loadparm.c >+++ b/source3/param/loadparm.c >@@ -1388,7 +1388,7 @@ static int add_a_service(const struct loadparm_service *pservice, const char *na > return (-1); > } > ServicePtrs = tsp; >- ServicePtrs[iNumServices] = talloc_zero(NULL, struct loadparm_service); >+ ServicePtrs[iNumServices] = talloc_zero(ServicePtrs, struct loadparm_service); > if (!ServicePtrs[iNumServices]) { > DEBUG(0,("add_a_service: out of memory!\n")); > return (-1); >-- >2.7.0.rc3.207.g0ac5344 >
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
Flags:
asn
:
review+
Actions:
View
Attachments on
bug 11708
:
11804
| 11813