Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jul 2005 10:40:07 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libcam camlib.c
Message-ID:  <200507131040.j6DAe7rs049971@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2005-07-13 10:40:07 UTC

  FreeBSD src repository

  Modified files:
    lib/libcam           camlib.c 
  Log:
  Better memory handling:
  
   - It is acceptable to call free(3) when the given pointer itself
     is NULL, so we do not need to determine NULL before passing
     a pointer to free(3)
   - Handle failure of malloc(3)
  
  MT6/5 Candidate
  
  Submitted by:   Dan Lukes <dan at obluda cz>
  PR:             bin/83352
  
  Revision  Changes    Path
  1.13      +7 -4      src/lib/libcam/camlib.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507131040.j6DAe7rs049971>