On Mon, May 10, 2010 at 08:47:59PM -0000, Jeff Trawick wrote: > --- httpd/httpd/trunk/server/mpm/prefork/prefork.c (original) > +++ httpd/httpd/trunk/server/mpm/prefork/prefork.c Mon May 10 20:47:59 2010 > @@ -549,12 +549,6 @@ static void child_main(int child_num_arg > conn_rec *current_conn; > void *csd; > > - /* > - * (Re)initialize this child to a pre-connection state. > - */ > - > - apr_pool_clear(ptrans); > -
ptrans will not be cleared between loop iterations in the case where accept fails (the "continue" path) - isn't that a potential memory leak? Regards, Joe
