When applying roles, don't apply the exact same role object more than once.
authorDave Rolsky <autarch@urth.org>
Sun, 19 Feb 2012 19:47:36 +0000 (13:47 -0600)
committerJesse Luehrs <doy@tozt.net>
Wed, 28 Mar 2012 23:28:32 +0000 (18:28 -0500)
commitbf46ee52709c38edc600f24ceb3a334d2c90965e
tree4ed477e796c2229e79eb01f232c26946ee46721a
parent7917b031541dcd794700b28e5b336d3bb342b694
When applying roles, don't apply the exact same role object more than once.

This fixes one of the memory leaks.
lib/Moose/Meta/Role/Application/ToClass.pm
lib/Moose/Meta/Role/Application/ToRole.pm