[ 
https://issues.apache.org/jira/browse/GEODE-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anthony Baker closed GEODE-4572.
--------------------------------

> SerializationRegistry::addType and similar functions should return 
> std::shared_ptr
> ----------------------------------------------------------------------------------
>
>                 Key: GEODE-4572
>                 URL: https://issues.apache.org/jira/browse/GEODE-4572
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Assignee: Jacob S. Barrett
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Currently these functions return a raw pointer. Returning a std::shared_ptr 
> reduces the chance for memory leaks and improves performance given that all 
> use cases resulted in the raw pointer being wrapped later in std::shared_ptr.



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

Reply via email to