summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 867e8e9ba0..e4308fdb5a 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -484,7 +484,7 @@ BOOL cli_dfs_get_referral( struct cli_state *cli, const char *path,
char *p;
size_t pathlen = 2*(strlen(path)+1);
uint16 num_referrals;
- CLIENT_DFS_REFERRAL *referrals;
+ CLIENT_DFS_REFERRAL *referrals = NULL;
memset(param, 0, sizeof(param));
SSVAL(param, 0, 0x03); /* max referral level */