summaryrefslogtreecommitdiffstats
path: root/socket.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-02-27 18:35:09 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-02-27 18:35:09 -0800
commitc9d657e320eb40e71695b587dc2e47a9230d05bf (patch)
tree3ef279b286befbd5354a29b7bb00064cc278a025 /socket.c
parentf94b59c49ee64695fd591a9eedf3ceea3737189a (diff)
downloadtxr-c9d657e320eb40e71695b587dc2e47a9230d05bf.tar.gz
txr-c9d657e320eb40e71695b587dc2e47a9230d05bf.tar.bz2
txr-c9d657e320eb40e71695b587dc2e47a9230d05bf.zip
Fix descriptor leak on exception in open-fileno.
* stream.c (open_fileno): If w_fdopen fails, close the file descriptor before throwing exception.
Diffstat (limited to 'socket.c')
0 files changed, 0 insertions, 0 deletions