summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-12 12:30:58 +0100
committerVolker Lendecke <vl@samba.org>2010-08-04 13:56:11 +0200
commitcc2aa855a3cc690716233bde57ae74711813db0f (patch)
tree5949aef1c53f3272f5d57c81bedcf656720652fd
parent68c6e07591ed35c2c6aca2e1979ee08ae469c13c (diff)
downloadsamba-cc2aa855a3cc690716233bde57ae74711813db0f.tar.gz
samba-cc2aa855a3cc690716233bde57ae74711813db0f.tar.bz2
samba-cc2aa855a3cc690716233bde57ae74711813db0f.zip
s3: Fix shadow copies after the change for in-path @GMT-
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
-rw-r--r--source3/modules/vfs_shadow_copy2.c5
1 files changed, 2 insertions, 3 deletions
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);
}