The Samba-Bugzilla – Attachment 4251 Details for
Bug 6447
[PATCH] Memory leak in lib/tdb/tools/tdbtorture.c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposal fix
0001-lib-tdb-tools-tdbtorture.c-fixed-memory-leak.patch (text/plain), 699 bytes, created by
Slava Semushin
on 2009-06-06 12:10:28 UTC
(
hide
)
Description:
Proposal fix
Filename:
MIME Type:
Creator:
Slava Semushin
Created:
2009-06-06 12:10:28 UTC
Size:
699 bytes
patch
obsolete
>From 92e235504c33c137e8b91cf7fe45eddc42424745 Mon Sep 17 00:00:00 2001 >From: Slava Semushin <php-coder@altlinux.ru> >Date: Sun, 7 Jun 2009 00:06:04 +0700 >Subject: [PATCH] lib/tdb/tools/tdbtorture.c: fixed memory leak. > >Found by cppcheck: >[lib/tdb/tools/tdbtorture.c:326]: (error) Memory leak: pids >--- > lib/tdb/tools/tdbtorture.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/lib/tdb/tools/tdbtorture.c b/lib/tdb/tools/tdbtorture.c >index 0c9bbd6..c754b81 100644 >--- a/lib/tdb/tools/tdbtorture.c >+++ b/lib/tdb/tools/tdbtorture.c >@@ -316,6 +316,8 @@ static void usage(void) > pids[j] = 0; > } > >+ free(pids); >+ > if (error_count == 0) { > printf("OK\n"); > } >-- >1.6.3.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 6447
: 4251