CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2009/10/31 18:08:54
Modified files: lib/libc/yp : ypmatch_cache.c Log message: 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@