joes        2003/10/17 09:52:48

  Modified:    t        params.c
  Log:
  s/malloc/apr_palloc/g in t/params.c test (haven't included <stdlib.h> here)
  
  Revision  Changes    Path
  1.7       +2 -2      httpd-apreq-2/t/params.c
  
  Index: params.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/t/params.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- params.c  18 Jul 2003 16:07:22 -0000      1.6
  +++ params.c  17 Oct 2003 16:52:48 -0000      1.7
  @@ -95,8 +95,8 @@
   static void string_decoding_in_place(CuTest *tc)
   {
       apreq_value_t *v;
  -    char *s1 = malloc(4096);
  -    char *s2 = malloc(4096);
  +    char *s1 = apr_palloc(p,4096);
  +    char *s2 = apr_palloc(p,4096);
   
       strcpy(s1, "bend it like beckham");
       strcpy(s2, "dandy %3Edons");
  
  
  

Reply via email to