The Samba-Bugzilla – Attachment 11804 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]
Fix for loadparm memory leak issue.
0001-loadparm-Fix-memory-leak-issue.patch (text/plain), 991 bytes, created by
Hemanth
on 2016-02-03 18:49:28 UTC
(
hide
)
Description:
Fix for loadparm memory leak issue.
Filename:
MIME Type:
Creator:
Hemanth
Created:
2016-02-03 18:49:28 UTC
Size:
991 bytes
patch
obsolete
>From 26bb4a163dbadc0ef139712d8a6bb7a10a474dd6 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> > >--- > source3/param/loadparm.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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); >-- >1.7.1 >
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 11708
:
11804
|
11813