summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_readonly.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/vfs_readonly.c')
-rw-r--r--source3/modules/vfs_readonly.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_readonly.c b/source3/modules/vfs_readonly.c
index 09cbf50bd0..c19f5941be 100644
--- a/source3/modules/vfs_readonly.c
+++ b/source3/modules/vfs_readonly.c
@@ -83,7 +83,7 @@ static int readonly_connect(vfs_handle_struct *handle,
for (i=0; i< VUID_CACHE_SIZE; i++) {
struct vuid_cache_entry *ent = ent = &conn->vuid_cache.array[i];
ent->vuid = UID_FIELD_INVALID;
- TALLOC_FREE(ent->server_info);
+ TALLOC_FREE(ent->session_info);
ent->read_only = false;
}
conn->vuid_cache.next_entry = 0;