orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Rupp (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ORC-384) C++ Reader leaks memory when reading a non-ORC file
Date Wed, 27 Jun 2018 11:05:00 GMT
Martin Rupp created ORC-384:
-------------------------------

             Summary: 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


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)

Mime
View raw message