summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-02 17:35:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-04-02 17:35:04 +0000
commit59707196683aec09ea0a2275bfe92dd0fda75830 (patch)
tree385ca90a52e9304c1a12de8c2c3a4c6ba6cbcbae /sys
parentb8b29e07488a2485182e45c5f0c520df4d77db3e (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