[SCM] Samba Shared Repository - branch master updated -
release-4-0-0alpha7-2094-g497b9e4
Volker Lendecke
vlendec at samba.org
Sat Jun 6 20:34:33 GMT 2009
The branch, master has been updated
via 497b9e460b5defd60de89b9c5bed890f83ca86a1 (commit)
from 0fee798552038b730b0107540d6cfeb475803555 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 497b9e460b5defd60de89b9c5bed890f83ca86a1
Author: Slava Semushin <php-coder at altlinux.ru>
Date: Sun Jun 7 00:06:04 2009 +0700
lib/tdb/tools/tdbtorture.c: fixed memory leak.
Found by cppcheck:
[lib/tdb/tools/tdbtorture.c:326]: (error) Memory leak: pids
-----------------------------------------------------------------------
Summary of changes:
lib/tdb/tools/tdbtorture.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
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");
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list