You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2018/07/13 21:55:00 UTC
[jira] [Resolved] (ORC-384) C++ Reader leaks memory when reading a
non-ORC file
[ https://issues.apache.org/jira/browse/ORC-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Owen O'Malley resolved ORC-384.
-------------------------------
Resolution: Fixed
Assignee: Martin Rupp
Fix Version/s: 1.6.0
> 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
> Assignee: Martin Rupp
> Priority: Minor
> Labels: memleak
> Fix For: 1.6.0
>
> 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)