[
https://issues.apache.org/jira/browse/ARROW-2539?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659565#comment-17659565
]
Rok Mihevc commented on ARROW-2539:
-----------------------------------
This issue has been migrated to [issue
#18861|https://github.com/apache/arrow/issues/18861] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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: C++ - Plasma
> Reporter: Zhijun Fu
> Assignee: Zhijun Fu
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.10.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)