Index: wp-includes/capabilities.php
===================================================================
--- wp-includes/capabilities.php	(revision 18896)
+++ wp-includes/capabilities.php	(working copy)
@@ -664,7 +664,7 @@
 		//Build $allcaps from role caps, overlay user's $caps
 		$this->allcaps = array();
 		foreach ( (array) $this->roles as $role ) {
-			$the_role =& $wp_roles->get_role( $role );
+			$the_role = $wp_roles->get_role( $role );
 			$this->allcaps = array_merge( (array) $this->allcaps, (array) $the_role->capabilities );
 		}
 		$this->allcaps = array_merge( (array) $this->allcaps, (array) $this->caps );
