diff options
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 8f9edfe0ca..2133a30dc6 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -5396,8 +5396,8 @@ static void notify_rename(connection_struct *conn, bool is_dir, mask = is_dir ? FILE_NOTIFY_CHANGE_DIR_NAME : FILE_NOTIFY_CHANGE_FILE_NAME; - if (!parent_dirname_talloc(NULL, oldpath, &olddir, &oldname) - || !parent_dirname_talloc(NULL, newpath, &newdir, &newname)) { + if (!parent_dirname(talloc_tos(), oldpath, &olddir, &oldname) + || !parent_dirname(talloc_tos(), newpath, &newdir, &newname)) { TALLOC_FREE(olddir); return; } |