diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/pvfs_streams.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_streams.c b/source4/ntvfs/posix/pvfs_streams.c index 381d2033b0..6b39fb6066 100644 --- a/source4/ntvfs/posix/pvfs_streams.c +++ b/source4/ntvfs/posix/pvfs_streams.c @@ -532,11 +532,11 @@ NTSTATUS pvfs_stream_truncate(struct pvfs_state *pvfs, status = pvfs_xattr_save(pvfs, name->full_name, fd, XATTR_DOSSTREAM_PREFIX, name->stream_name, &blob); - data_blob_free(&blob); if (NT_STATUS_IS_OK(status)) { status = pvfs_stream_update_size(pvfs, name, fd, blob.length); } + data_blob_free(&blob); return status; } |