summaryrefslogtreecommitdiff
path: root/source3/smbd/dfree.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-28 10:31:49 +0200
committerVolker Lendecke <vl@samba.org>2008-05-05 11:23:13 +0200
commitd62563342e8c83d67dbcfb0c4b8e2ed886742006 (patch)
tree3eb93d7b3afde17ea6f11021eb1e1cc3e5c7a6f7 /source3/smbd/dfree.c
parent2c00ff5407d5b126c8d38ceb2bcc8626ee7c0c5d (diff)
downloadsamba-d62563342e8c83d67dbcfb0c4b8e2ed886742006.tar.gz
samba-d62563342e8c83d67dbcfb0c4b8e2ed886742006.tar.bz2
samba-d62563342e8c83d67dbcfb0c4b8e2ed886742006.zip
Remove connection_struct->mem_ctx, connection_struct is its own parent
(This used to be commit 559180f7d30606d1999399d954ceedc798c669a4)
Diffstat (limited to 'source3/smbd/dfree.c')
-rw-r--r--source3/smbd/dfree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dfree.c b/source3/smbd/dfree.c
index 9e7f18a130..1ddcd48d40 100644
--- a/source3/smbd/dfree.c
+++ b/source3/smbd/dfree.c
@@ -206,7 +206,7 @@ SMB_BIG_UINT get_dfree_info(connection_struct *conn,
/* No cached info or time to refresh. */
if (!dfc) {
- dfc = TALLOC_P(conn->mem_ctx, struct dfree_cached_info);
+ dfc = TALLOC_P(conn, struct dfree_cached_info);
if (!dfc) {
return dfree_ret;
}