[
https://issues.apache.org/jira/browse/THRIFT-1201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766831#comment-13766831
]
Ben Craig commented on THRIFT-1201:
-----------------------------------
Feedback can be found here: https://reviews.apache.org/r/14133/
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira