summaryrefslogtreecommitdiff
path: root/libgpo
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2016-06-07 15:42:23 +1200
committerGarming Sam <garming@samba.org>2016-06-16 04:40:12 +0200
commitc86d508f65b6232cf7af3433e0701b3cfe9cf3a5 (patch)
tree0d0f8ffa4575df1c0dba3a98ec7c3e7be19f6ac0 /libgpo
parent9dcf1d4826a1c547f722b9b78a061f3f086ed9aa (diff)
downloadsamba-c86d508f65b6232cf7af3433e0701b3cfe9cf3a5.tar.gz
libgpo: Fix compiler errors when building with --address-sanitizer
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'libgpo')
-rw-r--r--libgpo/gpo_fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpo/gpo_fetch.c b/libgpo/gpo_fetch.c
index 07141d42cac..97ecd62d9d7 100644
--- a/libgpo/gpo_fetch.c
+++ b/libgpo/gpo_fetch.c
@@ -156,7 +156,7 @@ NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx,
NTSTATUS result;
char *server, *service, *nt_path, *unix_path;
char *nt_ini_path, *unix_ini_path;
- struct cli_state *cli;
+ struct cli_state *cli = NULL;
result = gpo_explode_filesyspath(mem_ctx, cache_dir, gpo->file_sys_path,