[ 
https://issues.apache.org/jira/browse/THRIFT-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532670#comment-14532670
 ] 

James E. King, III commented on THRIFT-1201:
--------------------------------------------

I reviewed there getaddrinfo is today and I do not see a resource leak due to 
exception handling, and neither does Coverity Scan.  Recommend this be closed 
as not reproducible.

> getaddrinfo resource leak
> -------------------------
>
>                 Key: THRIFT-1201
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1201
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.6.1
>            Reporter: Craig Robson
>            Priority: Minor
>         Attachments: getaddrinfo_leak.patch
>
>
> TServerSocket::listen() calls getaddrinfo().  There are several ways 
> exceptions can happen before freeaddrinfo() is called thus leaking the 
> getaddrinfo result.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to