diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:22:39 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-04-17 01:22:39 +0200 |
commit | 14023e502b7a1043afe0dde7f1c60a4b29a76646 (patch) | |
tree | 6d5f005adebd25a318f1715f290a8cda776fc097 | |
parent | c15ffa27cb3a1cadbbf06d564146c1ab8dec952b (diff) | |
download | samba-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)
-rw-r--r-- | source4/ntvfs/sysdep/sys_lease.c | 2 |
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); |