DragonFly commits List (threaded) for 2005-07
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/lib/libcam camlib.c
corecode 2005/07/14 02:13:27 PDT
DragonFly src repository
Modified files:
lib/libcam camlib.c
Log:
From FreeBSD:
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>
Submitted-by: Xin LI <delphij delphij net>
Revision Changes Path
1.3 +8 -5 src/lib/libcam/camlib.c
http://www.dragonflybsd.org/cvsweb/src/lib/libcam/camlib.c.diff?r1=1.2&r2=1.3&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]