From: Stefan Metzmacher Date: Sat, 15 Mar 2008 11:35:04 +0000 (+0100) Subject: pvfs_open: the pvfs_odb_retry structs need to be children of the request X-Git-Tag: samba-4.0.0alpha6~801^3~410^2~30 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=74d940ca5742a021a01e8820be40a69366f67ee6 pvfs_open: the pvfs_odb_retry structs need to be children of the request Otherwise they're not cleaned up when the request is finished. metze (This used to be commit 055760f0f4aadd2079b0a4999b59ac3dbe5edf8a) --- diff --git a/source4/ntvfs/posix/pvfs_open.c b/source4/ntvfs/posix/pvfs_open.c index 1399f120a7c..d1cb0eb6034 100644 --- a/source4/ntvfs/posix/pvfs_open.c +++ b/source4/ntvfs/posix/pvfs_open.c @@ -881,8 +881,6 @@ NTSTATUS pvfs_odb_retry_setup(struct ntvfs_module_context *ntvfs, talloc_steal(r, wait_handle); - talloc_steal(pvfs, r); - return NT_STATUS_OK; }