diff options
-rw-r--r-- | source3/registry/reg_import.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/registry/reg_import.c b/source3/registry/reg_import.c index ce3cd9729f..5f99b07329 100644 --- a/source3/registry/reg_import.c +++ b/source3/registry/reg_import.c @@ -75,6 +75,7 @@ int reg_parse_callback_key(struct reg_import* p, if (p->open_key != NULL ) { werr = p->call.closekey(p->call.data, p->open_key); + p->open_key = NULL; if (!W_ERROR_IS_OK(werr)) { DEBUG(0, ("closekey failed: %s\n", win_errstr(werr))); } |