From: Christian Hansen Date: Thu, 26 May 2005 03:49:04 +0000 (+0000) Subject: Updated Changes X-Git-Tag: 5.7099_04~1362 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=a76636937b5a8c129a012f96a704c7d6983e04a9;hp=48da4debcd3eada078c2dd7f377bb5fecb4d7f20 Updated Changes --- diff --git a/Changes b/Changes index be6dbff..4526d97 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ This file documents the revision history for Perl extension Catalyst. - Improved base locating in MP engines - Improved error messages in C::E::HTTP::Daemon - Hostnames are now resolved on demand unless provided by engine + - Fixed memory leak in $c->execute (Michael Reece, Matt S Trout) 5.21 2005-05-24 14:56:00 - fixed a bug in https detection diff --git a/lib/Catalyst/Engine.pm b/lib/Catalyst/Engine.pm index 17b0d4a..a42eab9 100644 --- a/lib/Catalyst/Engine.pm +++ b/lib/Catalyst/Engine.pm @@ -162,8 +162,7 @@ sub execute { eval { if ( $c->debug ) { - my ( $elapsed, @state ) = - $c->benchmark( $code, $class, $c, @{ $c->req->args } ); + my ( $elapsed, @state ) = $c->benchmark( $code, $class, $c, @{ $c->req->args } ); push @{ $c->{stats} }, [ $action, sprintf( '%fs', $elapsed ) ]; $c->state(@state); }