Different platforms will do different numbers of allocations in the processing of a given API call; just check that the return code is either success or ENOMEM, and free off any returned state in the former case. Also cope with ECONNREFUSED as well as ENOTFOUND.pull/34/head
parent
3478963873
commit
78f9ec5515
3 changed files with 18 additions and 6 deletions
Loading…
Reference in new issue