mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli: Don't leave a pointer uninitialized
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
9b453f475f
commit
bb8d333070
@ -31,10 +31,8 @@
|
|||||||
*/
|
*/
|
||||||
struct security_token *security_token_initialise(TALLOC_CTX *mem_ctx)
|
struct security_token *security_token_initialise(TALLOC_CTX *mem_ctx)
|
||||||
{
|
{
|
||||||
struct security_token *st;
|
struct security_token *st = talloc_zero(
|
||||||
|
mem_ctx, struct security_token);
|
||||||
st = talloc_zero(mem_ctx, struct security_token);
|
|
||||||
|
|
||||||
return st;
|
return st;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user