diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-11-01 00:08:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2009-11-01 00:08:55 +0000 |
commit | 630bea5482d7796698298fb86bcea28c63397ce7 (patch) | |
tree | 6abb504303ddda59d50c734cf1993f16064f7c10 /sys/dev/ic/adw.h | |
parent | a5ebaed47359be9a8e5b8bdcf2f482e7d852c5aa (diff) |
Two minor bug fixes rotting in my tree:
(1) When the second malloc in yp_next fails, do not leak the memory
allocated by the first one. Same fix as yp_first.c rev. 1.9.
(2) When compiled with YPMATCHCACHE, do not fail the lookup when
reserving memory for the cache fails. Instead, just return the
correct result without caching it.
ok millert@
Diffstat (limited to 'sys/dev/ic/adw.h')
0 files changed, 0 insertions, 0 deletions