Updated Changes
Christian Hansen [Thu, 26 May 2005 03:49:04 +0000 (03:49 +0000)]
Changes
lib/Catalyst/Engine.pm

diff --git a/Changes b/Changes
index be6dbff..4526d97 100644 (file)
--- 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
index 17b0d4a..a42eab9 100644 (file)
@@ -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);
         }