diff options
author | Volker Lendecke <vl@samba.org> | 2011-05-30 12:11:53 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-05-31 21:47:07 +0200 |
commit | d77854fbb22bc9237cea14aae1179bbfe3bd0998 (patch) | |
tree | 164b8cb414e545ce934ee62144879931c59e5531 /source3/modules/vfs_shadow_copy.c | |
parent | 0ec9a90c29b86435f32c1d47d89df85fa51742f2 (diff) | |
download | samba-d77854fbb22bc9237cea14aae1179bbfe3bd0998.tar.gz |
struct make "struct shadow_copy_data" its own talloc context
Diffstat (limited to 'source3/modules/vfs_shadow_copy.c')
-rw-r--r-- | source3/modules/vfs_shadow_copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_shadow_copy.c b/source3/modules/vfs_shadow_copy.c index c1ffac74989..1db47d216be 100644 --- a/source3/modules/vfs_shadow_copy.c +++ b/source3/modules/vfs_shadow_copy.c @@ -253,7 +253,7 @@ static int shadow_copy_get_shadow_copy_data(vfs_handle_struct *handle, continue; } - tlabels = (SHADOW_COPY_LABEL *)TALLOC_REALLOC(shadow_copy_data->mem_ctx, + tlabels = (SHADOW_COPY_LABEL *)TALLOC_REALLOC(shadow_copy_data, shadow_copy_data->labels, (shadow_copy_data->num_volumes+1)*sizeof(SHADOW_COPY_LABEL)); if (tlabels == NULL) { |