Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jul 2005 17:28:26 +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:  <200507171728.j6HHSQFq035595@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
delphij     2005-07-17 17:28:26 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    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.12.8.1  +7 -4      src/lib/libcam/camlib.c



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