Bugzilla – Attachment 3332 Details for
Bug 3074
memory leak reported in static code analysis
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible fix for memory leak
v2-0001-Fix-memory-leak-in-handle-allocated-through-funct.patch (text/plain), 757 bytes, created by
Krishna
on 2019-09-30 20:05:21 AEST
(
hide
)
Description:
Possible fix for memory leak
Filename:
MIME Type:
Creator:
Krishna
Created:
2019-09-30 20:05:21 AEST
Size:
757 bytes
patch
obsolete
>From ee55cd83a4adac648c22d55344a1121cfebda3cc Mon Sep 17 00:00:00 2001 >From: krishnaiah bommu <krishnaiah.bommu@intel.com> >Date: Thu, 26 Sep 2019 15:38:02 +0530 >Subject: [PATCH v2] Fix memory leak in 'handle' allocated through function > 'get_handle' > >--- >Change log: >v1->v2 >- Fixed review comments received in v1 > > sftp-client.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/sftp-client.c b/sftp-client.c >index 4fb6181..9503cc3 100644 >--- a/sftp-client.c >+++ b/sftp-client.c >@@ -631,8 +631,7 @@ do_lsreaddir(struct sftp_conn *conn, const char *path, int print_flag, > __func__, ssh_err(r)); > free(filename); > free(longname); >- sshbuf_free(msg); >- return -1; >+ goto out; > } > > if (print_flag) >-- >2.7.4 >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 3074
: 3332