summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Doc/perl/python.perl
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-05-05 03:56:11 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-05-05 03:56:11 +0200
commit9500191af630673a28266cab9b4e109275847c90 (patch)
tree65a9c6d857fcc29eaf0aeda1b360157b83266775 /sys/src/cmd/python/Doc/perl/python.perl
parent30d7276d693a45153140248bc4cf09d72c554030 (diff)
devip: handle malloc errors, fix queue leaks
Fsprotocone(): qopen() and qbypass() can fail and return nil, so make sure the connection was not partially created by checking if read and write queues have been setup by the protocol create hanler. on error, free any resources of the partial connection and error out. netlogopen(): check malloc() error.
Diffstat (limited to 'sys/src/cmd/python/Doc/perl/python.perl')
0 files changed, 0 insertions, 0 deletions