$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-08-26 15:45:15
Sohail Somani wrote:
>>> Any dynamically allocated memory that isn't freed is a Bad
>> Thing imho.
>>
>> Because?
>
> Was it forgotten? Was it intentional? If the assumption is it will
> always be freed, then there is no ambiguity.
Seems clearly intentional to me - the allocation is invoked by call_once and
is a textbook implementation of a thread safe singleton. A "this is not a
leak" comment may help.