drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudheesh Katkam (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-5368) Memory leak in C++ server metadata handler
Date Tue, 21 Mar 2017 06:06:41 GMT

     [ https://issues.apache.org/jira/browse/DRILL-5368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sudheesh Katkam updated DRILL-5368:
-----------------------------------
    Labels: ready-to-commit  (was: )

> Memory leak in C++ server metadata handler
> ------------------------------------------
>
>                 Key: DRILL-5368
>                 URL: https://issues.apache.org/jira/browse/DRILL-5368
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>    Affects Versions: 1.10.0
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>            Priority: Minor
>              Labels: ready-to-commit
>
> When receiving server metadata response, a protobuf ServerMetaResp object is dynamically
allocated but never freed.
> Since for this handler, there's no need to keep the instance attached to the handler
(content is copied over by the MetaData class), a reference is enough and allocation can be
done on the stack.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message