[
https://issues.apache.org/jira/browse/ORC-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16525008#comment-16525008
]
ASF GitHub Bot commented on ORC-384:
------------------------------------
Github user majetideepak commented on the issue:
https://github.com/apache/orc/pull/289
+1 LGTM. I will check this in by end of today.
> C++ Reader leaks memory when reading a non-ORC file
> ---------------------------------------------------
>
> Key: ORC-384
> URL: https://issues.apache.org/jira/browse/ORC-384
> Project: ORC
> Issue Type: Bug
> Components: C++
> Affects Versions: 1.5.1
> Reporter: Martin Rupp
> Priority: Minor
> Labels: memleak
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When opening a non-ORC file, the readPostscript/ensureOrcFooter function
> throw an error, leaving behind a new'd DataBuffer<char>.
> Solution is to replace with std::unique_ptr<DataBuffer<char>>.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)