summaryrefslogtreecommitdiff
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-07 18:37:04 +0100
committerGünther Deschner <gd@samba.org>2008-01-07 19:38:10 +0100
commitcc1982ab1cb436a9410699bac5bafa7c6077530a (patch)
treef7b3efa43f523c29839394f5e98ca739e227aa2f /source3/lib/netapi
parentfa1e5e95d505d28eb50398511f95ebf13a28b4e5 (diff)
downloadsamba-cc1982ab1cb436a9410699bac5bafa7c6077530a.tar.gz
samba-cc1982ab1cb436a9410699bac5bafa7c6077530a.tar.bz2
samba-cc1982ab1cb436a9410699bac5bafa7c6077530a.zip
Close registry in libnetapi_free().
Guenther (This used to be commit e7258a4408e40686ff090d0f8e120ce78acbd097)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index a37ed7c072..33ca67ec85 100644
--- a/source3/lib/netapi/netapi.c
+++ b/source3/lib/netapi/netapi.c
@@ -92,6 +92,7 @@ NET_API_STATUS libnetapi_free(struct libnetapi_ctx *ctx)
gencache_shutdown();
secrets_shutdown();
+ regdb_close();
TALLOC_FREE(ctx);
TALLOC_FREE(frame);