> On Nov. 15, 2014, 12:39 a.m., Benjamin Hindman wrote:
> > 3rdparty/libprocess/src/process.cpp, line 1743
> > <https://reviews.apache.org/r/27961/diff/2/?file=764027#file764027line1743>
> >
> >     s/socketPtr/new Socket(socket)/
> >     
> >     And then you can kill socketPtr above. ;-)

socketPtr is there to prevent a leak, since we pass it to both an onReady and 
an onFailed.


- Joris


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27961/#review61574
-----------------------------------------------------------


On Nov. 14, 2014, 9:51 p.m., Joris Van Remoortere wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/27961/
> -----------------------------------------------------------
> 
> (Updated Nov. 14, 2014, 9:51 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman and Niklas Nielsen.
> 
> 
> Bugs: MESOS-1330
>     https://issues.apache.org/jira/browse/MESOS-1330
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See Summary.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/process.cpp 
> a34b8702b01dec9c954552de0b923866d172c453 
> 
> Diff: https://reviews.apache.org/r/27961/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Joris Van Remoortere
> 
>

Reply via email to