apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: apr/locks/win32 locks.c
Date Sat, 16 Feb 2002 19:10:05 GMT
wrowe       02/02/16 11:10:05

  Modified:    locks/win32 locks.c
  Log:
    We don't look for palloc to fail
  
  Revision  Changes    Path
  1.50      +0 -3      apr/locks/win32/locks.c
  
  Index: locks.c
  ===================================================================
  RCS file: /home/cvs/apr/locks/win32/locks.c,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- locks.c	1 Feb 2002 06:21:34 -0000	1.49
  +++ locks.c	16 Feb 2002 19:10:05 -0000	1.50
  @@ -165,9 +165,6 @@
        */
       (*lock) = (apr_lock_t *)apr_palloc(pool, sizeof(apr_lock_t));
   
  -    if ((*lock) == NULL) {
  -        return APR_ENOMEM;
  -    }
       if (fname) {
           if (apr_os_level >= APR_WIN_2000) {
               (*lock)->fname = apr_pstrcat(pool, "Global\\", fname, NULL);
  
  
  

Mime
View raw message