From 4825cef8bcce9e9774ea4e8c1087f76c654293b9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 22 Mar 2008 01:54:18 +0100 Subject: registry: close registry in exit path in registry_init_smbconf(). Michael (This used to be commit 5aa3141bff35a85dd97e9fd339e19b0fe3a73afc) --- source3/registry/reg_init_smbconf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/registry') 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; } -- cgit