summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry/patchfile_dotreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/registry/patchfile_dotreg.c')
-rw-r--r--source4/lib/registry/patchfile_dotreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/registry/patchfile_dotreg.c b/source4/lib/registry/patchfile_dotreg.c
index c4409dcf9c..f537b971f7 100644
--- a/source4/lib/registry/patchfile_dotreg.c
+++ b/source4/lib/registry/patchfile_dotreg.c
@@ -235,8 +235,8 @@ _PUBLIC_ WERROR reg_dotreg_diff_load(int fd,
DATA_BLOB data;
bool result;
char *type_str = NULL;
- char *data_str;
- char *value;
+ char *data_str = NULL;
+ char *value = NULL;
bool continue_next_line = 0;
line = afdgets(fd, mem_ctx, 0);