The branch, v3-2-test has been updated
via b4a37a66bbd8f5346de743d4ab427d6671e29075 (commit)
from d7a7b793203b986823859ac5171d2d4c30e52415 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit b4a37a66bbd8f5346de743d4ab427d6671e29075
Author: Michael Adam <[EMAIL PROTECTED]>
Date: Wed Jan 9 22:25:52 2008 +0100
Fix a memleak found by the IBM checker.
Michael
-----------------------------------------------------------------------
Summary of changes:
source/libsmb/clirap.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/libsmb/clirap.c b/source/libsmb/clirap.c
index 54504f6..aab77a3 100644
--- a/source/libsmb/clirap.c
+++ b/source/libsmb/clirap.c
@@ -297,6 +297,7 @@ bool cli_NetServerEnum(struct cli_state *cli, char
*workgroup, uint32 stype,
STR_TERMINATE|STR_UPPER);
if (len == (size_t)-1) {
+ SAFE_FREE(last_entry);
return false;
}
p += len;
--
Samba Shared Repository