diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clifile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index fb07dae427..3cf8cae320 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -1613,7 +1613,9 @@ static BOOL cli_get_ea_list(struct cli_state *cli, struct ea_struct *ea_list; *pnum_eas = 0; - *pea_list = NULL; + if (pea_list) { + *pea_list = NULL; + } if (!cli_send_trans(cli, SMBtrans2, NULL, /* Name */ |