You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mm...@apache.org on 2001/06/20 00:46:13 UTC

cvs commit: jakarta-tomcat/src/native/jk jk_ajp13_worker.c

mmanders    01/06/19 15:46:13

  Modified:    src/native/jk Tag: tomcat_32 jk_ajp13_worker.c
  Log:
  Fixed a memory leak.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.3.2.3   +2 -1      jakarta-tomcat/src/native/jk/Attic/jk_ajp13_worker.c
  
  Index: jk_ajp13_worker.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/native/jk/Attic/jk_ajp13_worker.c,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- jk_ajp13_worker.c	2001/01/05 03:39:25	1.3.2.2
  +++ jk_ajp13_worker.c	2001/06/19 22:46:12	1.3.2.3
  @@ -57,7 +57,7 @@
    * Description: Experimental bi-directionl protocol.                       *
    * Author:      Costin <co...@costin.dnt.ro>                              *
    * Author:      Gal Shachor <sh...@il.ibm.com>                           *
  - * Version:     $Revision: 1.3.2.2 $                                           *
  + * Version:     $Revision: 1.3.2.3 $                                           *
    ***************************************************************************/
   
   #include "jk_pool.h"
  @@ -120,6 +120,7 @@
   static void close_endpoint(ajp13_endpoint_t *ep)
   {
       reset_endpoint(ep);
  +    jk_close_pool(&(ep->pool));
       if(ep->sd > 0) {
           jk_close_socket(ep->sd);
       }