udp-send-to: fix deallocation bug related to rktio refactoring
The bug caused an attempt to free NULL as an addrinfo, which is apparently ok on many OSes, but not all.
This commit is contained in:
parent
ed8145e0d2
commit
340b878981
|
@ -2129,7 +2129,7 @@ static Scheme_Object *udp_send_it(const char *name, int argc, Scheme_Object *arg
|
||||||
} else {
|
} else {
|
||||||
return do_udp_send_it(name, udp,
|
return do_udp_send_it(name, udp,
|
||||||
SCHEME_BYTE_STR_VAL(argv[3+delta]), start, end,
|
SCHEME_BYTE_STR_VAL(argv[3+delta]), start, end,
|
||||||
dest_addr, 1,
|
dest_addr, with_addr,
|
||||||
can_block, 1);
|
can_block, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user