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

Abhishek Dasgupta commented on MESOS-5797:
------------------------------------------

cc [~adam-mesos]

> Use shared_ptr instead of raw pointer for mesos::Authorizer in slave and 
> master initialization.
> -----------------------------------------------------------------------------------------------
>
>                 Key: MESOS-5797
>                 URL: https://issues.apache.org/jira/browse/MESOS-5797
>             Project: Mesos
>          Issue Type: Bug
>          Components: general
>            Reporter: Abhishek Dasgupta
>            Assignee: Abhishek Dasgupta
>
> Like in slave.hpp, to initialize Slave instance, we are using "const 
> Option<Authorizer*>& authorizer" raw pointer. Instead of a raw pointer, we 
> may use shared_ptr here as this pointer might be shared among other objects 
> also to support authorization in those. 
> Similarly, it can be done for master initialization also.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to