From cc2aa855a3cc690716233bde57ae74711813db0f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 12 Nov 2009 12:30:58 +0100 Subject: s3: Fix shadow copies after the change for in-path @GMT- Signed-off-by: Christian Ambach --- source3/modules/vfs_shadow_copy2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c index 8ac42e625c..3cf681fde8 100644 --- a/source3/modules/vfs_shadow_copy2.c +++ b/source3/modules/vfs_shadow_copy2.c @@ -664,9 +664,8 @@ static char *shadow_copy2_realpath(vfs_handle_struct *handle, copy[gmt - fname + 1] = '\0'; DEBUG(10, ("calling NEXT_REALPATH with %s\n", copy)); - result = SMB_VFS_NEXT_REALPATH(handle, copy, resolved_path); - TALLOC_FREE(copy); - return result; + SHADOW2_NEXT(REALPATH, (handle, name, resolved_path), char *, + NULL); } SHADOW2_NEXT(REALPATH, (handle, name, resolved_path), char *, NULL); } -- cgit