diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-12 12:30:58 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-04 13:56:11 +0200 |
commit | cc2aa855a3cc690716233bde57ae74711813db0f (patch) | |
tree | 5949aef1c53f3272f5d57c81bedcf656720652fd /source3/modules | |
parent | 68c6e07591ed35c2c6aca2e1979ee08ae469c13c (diff) | |
download | samba-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>
Diffstat (limited to 'source3/modules')
-rw-r--r-- | source3/modules/vfs_shadow_copy2.c | 5 |
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); } |