1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Fix a memleak found by the IBM checker.

Michael
(This used to be commit b4a37a66bb)
This commit is contained in:
Michael Adam
2008-01-09 22:25:52 +01:00
parent 7c6d77dd88
commit c0c299cb26

View File

@ -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;