Jacob S. Barrett created GEODE-4572:
---------------------------------------

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


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