1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Fix a memleak found by the IBM checker.

Michael
This commit is contained in:
Michael Adam 2008-01-09 22:25:52 +01:00
parent d7a7b79320
commit b4a37a66bb

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;