apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr-util/test abts.c
Date Tue, 22 Jun 2004 14:53:30 GMT
jorton      2004/06/22 07:53:30

  Modified:    test     abts.c
  Log:
  * test/abts.c (abts_run_test): Fix malloc size.
  
  Revision  Changes    Path
  1.5       +1 -1      apr-util/test/abts.c
  
  Index: abts.c
  ===================================================================
  RCS file: /home/cvs/apr-util/test/abts.c,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -d -w -u -r1.4 -r1.5
  --- abts.c	22 Jun 2004 10:22:07 -0000	1.4
  +++ abts.c	22 Jun 2004 14:53:30 -0000	1.5
  @@ -161,7 +161,7 @@
       }
       ss = ts->tail;
   
  -    tc = malloc(sizeof(tc));
  +    tc = malloc(sizeof(*tc));
       tc->failed = 0;
       tc->suite = ss;
       
  
  
  

Mime
View raw message