if (ent->vuid == vuid) {
ent->vuid = UID_FIELD_INVALID;
- if (conn->user_ev_ctx == ent->user_ev_ctx) {
- conn->user_ev_ctx = NULL;
+ conn->user_ev_ctx = NULL;
+
+ if (conn->user_vfs_evg == ent->user_vfs_evg) {
+ conn->user_vfs_evg = NULL;
}
- TALLOC_FREE(ent->user_ev_ctx);
+ TALLOC_FREE(ent->user_vfs_evg);
/*
* We need to keep conn->session_info around