Bug 17318

Summary: CodeReview: resource leak in src/modules/internet/Rsock.c
Product: R Reporter: Steve Grubb <sgrubb>
Component: Low-levelAssignee: R-core <R-core>
Status: CLOSED FIXED    
Severity: enhancement CC: maechler
Priority: P5    
Version: R 3.3.*   
Hardware: Other   
OS: Linux   
Attachments: Patch to fix the issue

Description Steve Grubb 2017-07-23 12:12:38 UTC
There is one error path that does not close the sockets. A patch will be attached to address this issue.
Comment 1 Steve Grubb 2017-07-23 12:13:02 UTC
Created attachment 2282 [details]
Patch to fix the issue
Comment 2 Martin Maechler 2017-07-24 12:46:23 UTC
Thank you.

I have commited a fix using a CLOSE_N_RETURN(.) macro,
svn rev 72962