git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68c6e07
)
s3: Fix shadow copies after the change for in-path @GMT-
author
Volker Lendecke
<vl@samba.org>
Thu, 12 Nov 2009 11:30:58 +0000
(12:30 +0100)
committer
Volker Lendecke
<vl@samba.org>
Wed, 4 Aug 2010 11:56:11 +0000
(13:56 +0200)
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
source3/modules/vfs_shadow_copy2.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_shadow_copy2.c
b/source3/modules/vfs_shadow_copy2.c
index 8ac42e625cf8fb626ef683590107b3db5a6724f5..3cf681fde8b3572250069ec27b8a3633262b2651 100644
(file)
--- 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);
}