Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-32379: Fix memory leak in session_set_user
session_set_user mistakingly sets the session user to be a reference to the passed object. This is a problem when alot of data is attached to the session user object, as any process holding a list of these users will use more memory each time it changes user.
- Loading branch information