[ 
https://issues.apache.org/jira/browse/ARROW-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463537#comment-16463537
 ] 

Zhijun Fu commented on ARROW-2539:
----------------------------------

I've created an PR for this:

[https://github.com/apache/arrow/pull/1993]

 

> [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
>            Priority: Minor
>
> 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)

Reply via email to