cvs commit: src/lib/libcam camlib.c

Xin LI delphij at FreeBSD.org
Sun Jul 17 17:29:23 GMT 2005


delphij     2005-07-17 17:29:22 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    lib/libcam           camlib.c 
  Log:
  MFC revision 1.13
  date: 2005/07/13 10:40:07;  author: delphij;  state: Exp;  lines: +7 -4
  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)
  
  Submitted by:   Dan Lukes <dan at obluda cz>
  PR:             bin/83352
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.8.2.3   +7 -4      src/lib/libcam/camlib.c


More information about the cvs-src mailing list