mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s4-client: Don't leak memory.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
This commit is contained in:
parent
d5a210a26f
commit
cf8be08968
@ -1085,6 +1085,8 @@ static int cmd_altname(struct smbclient_context *ctx, const char **args)
|
|||||||
}
|
}
|
||||||
d_printf("%s\n", altname);
|
d_printf("%s\n", altname);
|
||||||
|
|
||||||
|
SAFE_FREE(altname);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user