diff options
-rw-r--r-- | source4/lib/registry/patchfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/patchfile.c b/source4/lib/registry/patchfile.c index cdf35c7b700..dd118c780f0 100644 --- a/source4/lib/registry/patchfile.c +++ b/source4/lib/registry/patchfile.c @@ -257,7 +257,7 @@ struct reg_diff *reg_diff_load(TALLOC_CTX *ctx, const char *fn) struct reg_diff *diff; int fd; char *line, *p, *q; - struct reg_diff_key *curkey; + struct reg_diff_key *curkey = NULL; struct reg_diff_value *curval; fd = open(fn, O_RDONLY, 0); |