joes        2003/06/25 00:59:38

  Modified:    Request  Request.xs
  Log:
  Fix memory problem with TEMP_DIR processing.  Thanks to Jay Buffington for 
spotting the problem- see 
http://marc.theaimsgroup.com/?l=apreq-dev&m=105647058517842&w=2
  
  Revision  Changes    Path
  1.36      +1 -1      httpd-apreq/Request/Request.xs
  
  Index: Request.xs
  ===================================================================
  RCS file: /home/cvs/httpd-apreq/Request/Request.xs,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- Request.xs        14 Apr 2003 02:45:24 -0000      1.35
  +++ Request.xs        25 Jun 2003 07:59:37 -0000      1.36
  @@ -313,7 +313,7 @@
   
             case 't':
               if (strcaseEQ(key, "temp_dir")) {
  -                RETVAL->temp_dir = (char *)SvPV(ST(i+1), PL_na);
  +                RETVAL->temp_dir = ap_pstrdup(r->pool,SvPV(ST(i+1), PL_na));
                   break;
               }
   
  
  
  

Reply via email to