From 27e63b72a1356aa0ca73c6bda23dcc4ecfcc4b0a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 13 Dec 2011 14:11:28 +0100 Subject: [PATCH] s3: Use talloc_tos() in set_sticky_write_time() --- source3/locking/locking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/locking/locking.c b/source3/locking/locking.c index caa2b5aef64..e3b4e497a3a 100644 --- a/source3/locking/locking.c +++ b/source3/locking/locking.c @@ -1415,7 +1415,7 @@ bool set_sticky_write_time(struct file_id fileid, struct timespec write_time) convert_timespec_to_time_t(write_time)), file_id_string_tos(&fileid))); - lck = get_share_mode_lock(NULL, fileid, NULL, NULL, NULL); + lck = get_share_mode_lock(talloc_tos(), fileid, NULL, NULL, NULL); if (lck == NULL) { return False; } -- 2.11.4.GIT