diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_wait.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_wait.c b/source4/ntvfs/posix/pvfs_wait.c index e4175ca8cc..da36ac2239 100644 --- a/source4/ntvfs/posix/pvfs_wait.c +++ b/source4/ntvfs/posix/pvfs_wait.c @@ -143,8 +143,7 @@ static int pvfs_wait_destructor(void *ptr) te.next_event = end_time; te.handler = pvfs_wait_timeout; te.private = pwait; - pwait->te = event_add_timed(pwait->ev, &te); - talloc_steal(pwait, pwait->te); + pwait->te = event_add_timed(pwait->ev, &te, pwait); /* register with the messaging subsystem for this message type */ |