summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clilist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clilist.c b/source3/libsmb/clilist.c
index 853d25d8ca..b580172317 100644
--- a/source3/libsmb/clilist.c
+++ b/source3/libsmb/clilist.c
@@ -802,7 +802,7 @@ NTSTATUS cli_list_trans(struct cli_state *cli, const char *mask,
struct event_context *ev;
struct tevent_req *req;
int i, num_finfo;
- struct file_info *finfo;
+ struct file_info *finfo = NULL;
NTSTATUS status = NT_STATUS_NO_MEMORY;
if (cli_has_async_calls(cli)) {