summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-07 12:44:25 +0100
committerGünther Deschner <gd@samba.org>2008-01-07 12:48:21 +0100
commitbe7df54c3912a2db024f19d789d385e99ed98917 (patch)
treecac13561fc0e9a8b426115e12d3119f9481b6acf
parentc0d33508ff6b7c3b90e672d20246b1c9e359cf80 (diff)
downloadsamba-be7df54c3912a2db024f19d789d385e99ed98917.tar.gz
samba-be7df54c3912a2db024f19d789d385e99ed98917.tar.bz2
samba-be7df54c3912a2db024f19d789d385e99ed98917.zip
Fix two memleaks in libnetapi.
Guenther (This used to be commit d73bde99e8518607bb78b5625ce5fb1991d8e402)
-rw-r--r--source3/lib/netapi/netapi.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c
index 032798d0f9..9c418f254c 100644
--- a/source3/lib/netapi/netapi.c
+++ b/source3/lib/netapi/netapi.c
@@ -1,7 +1,7 @@
/*
* Unix SMB/CIFS implementation.
* NetApi Support
- * Copyright (C) Guenther Deschner 2007
+ * Copyright (C) Guenther Deschner 2007-2008
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -90,6 +90,9 @@ NET_API_STATUS libnetapi_free(struct libnetapi_ctx *ctx)
gfree_charcnv();
gfree_interfaces();
+ gencache_shutdown();
+ secrets_shutdown();
+
TALLOC_FREE(ctx);
TALLOC_FREE(frame);