summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-22 01:54:18 +0100
committerMichael Adam <obnox@samba.org>2008-03-22 01:54:18 +0100
commit4825cef8bcce9e9774ea4e8c1087f76c654293b9 (patch)
tree9adf485aef298bab76c7e57cc02a3c904982226b /source3
parentb8a949b566ec84b72b7f62dc095cddf78b615f3e (diff)
downloadsamba-4825cef8bcce9e9774ea4e8c1087f76c654293b9.tar.gz
samba-4825cef8bcce9e9774ea4e8c1087f76c654293b9.tar.bz2
samba-4825cef8bcce9e9774ea4e8c1087f76c654293b9.zip
registry: close registry in exit path in registry_init_smbconf().
Michael (This used to be commit 5aa3141bff35a85dd97e9fd339e19b0fe3a73afc)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_init_smbconf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/registry/reg_init_smbconf.c b/source3/registry/reg_init_smbconf.c
index 71f21f85ec..f76cc2f051 100644
--- a/source3/registry/reg_init_smbconf.c
+++ b/source3/registry/reg_init_smbconf.c
@@ -95,10 +95,9 @@ bool registry_init_smbconf(void)
goto done;
}
- regdb_close();
-
ret = true;
done:
+ regdb_close();
return ret;
}