Memory leak in getUsers()

Memory leak in getUsers() when no users are loaded due to an error