CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/04/02 11:35:03
Modified files:
lib/libc/yp : yp_all.c
Log message:
fix a potential memory leak found by zinovik@
while here, make sure each error path sets YP_YPERR
and make the function shorter and easier to read
by using the idiom "if (error) goto fail" everywhere in the loop
and by putting xdr_free in exactly one place near the end
ok deraadt@
