summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-21 23:50:49 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 23:50:49 +0100
commit9ec7af58c62d8ead447fc6da6db76db8dc5b96dc (patch)
treefa195d66d287fd3dbbdb323181e763800175f604 /source3/registry
parenta81ed36e86cf9c275538aea03c80c1ee00122f4a (diff)
downloadsamba-9ec7af58c62d8ead447fc6da6db76db8dc5b96dc.tar.gz
samba-9ec7af58c62d8ead447fc6da6db76db8dc5b96dc.tar.bz2
samba-9ec7af58c62d8ead447fc6da6db76db8dc5b96dc.zip
registry: fix registry_init_smbconf() to close the registry at the end.
Michael (This used to be commit f4d87fdbf266a36fbb50dae863ee0784165c2fe1)
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_init_smbconf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/registry/reg_init_smbconf.c b/source3/registry/reg_init_smbconf.c
index 1b17852a7a..71f21f85ec 100644
--- a/source3/registry/reg_init_smbconf.c
+++ b/source3/registry/reg_init_smbconf.c
@@ -95,6 +95,8 @@ bool registry_init_smbconf(void)
goto done;
}
+ regdb_close();
+
ret = true;
done: