git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-2539) [Plasma] Use unique_ptr instead of raw pointer


Zhijun Fu created ARROW-2539:
--------------------------------

             Summary: [Plasma] Use unique_ptr instead of raw pointer
                 Key: ARROW-2539
                 URL: https://issues.apache.org/jira/browse/ARROW-2539
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Plasma (C++)
            Reporter: Zhijun Fu


There are some places in Plasma where explicit new & delete are used, forgetting to delete can cause memory leak. Use unique_ptr instead when possible so that memory gets deleted automatically.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-arrow-development/msg04363.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0006363064{main}( ).../msg04363.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-arrow-development/msg04363.html on line 88
Call Stack
#TimeMemoryFunctionLocation
10.0006363064{main}( ).../msg04363.html:0