diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-04-02 17:35:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2010-04-02 17:35:04 +0000 |
commit | 59707196683aec09ea0a2275bfe92dd0fda75830 (patch) | |
tree | 385ca90a52e9304c1a12de8c2c3a4c6ba6cbcbae /sys | |
parent | b8b29e07488a2485182e45c5f0c520df4d77db3e (diff) |
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@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions