summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-17 01:22:39 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-17 01:22:39 +0200
commit14023e502b7a1043afe0dde7f1c60a4b29a76646 (patch)
tree6d5f005adebd25a318f1715f290a8cda776fc097 /source4/ntvfs
parentc15ffa27cb3a1cadbbf06d564146c1ab8dec952b (diff)
downloadsamba-14023e502b7a1043afe0dde7f1c60a4b29a76646.tar.gz
samba-14023e502b7a1043afe0dde7f1c60a4b29a76646.tar.bz2
samba-14023e502b7a1043afe0dde7f1c60a4b29a76646.zip
Require explicit event context rather than looking if it is not specified.
(This used to be commit 1da0063bd5fd18ad3ac7a07c985ec6be380486e2)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/sysdep/sys_lease.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/sysdep/sys_lease.c b/source4/ntvfs/sysdep/sys_lease.c
index b8a165aa51..e6b11c450a 100644
--- a/source4/ntvfs/sysdep/sys_lease.c
+++ b/source4/ntvfs/sysdep/sys_lease.c
@@ -55,7 +55,7 @@ _PUBLIC_ struct sys_lease_context *sys_lease_context_create(struct share_config
}
if (ev == NULL) {
- ev = event_context_find(mem_ctx);
+ return NULL;
}
ctx = talloc_zero(mem_ctx, struct sys_lease_context);