|
|
> In interior.cpp there is a function Copy_Interior. It just copies the
> interior struct. Shouldn't it set the reference count on the new struct
> to 1, as there is only one pointer to the new struct? Would this
> constitute a memory leak if you copy an INTERIOR with more than one
> reference and then Destroy_Interior the copy? Does anyone read these
> posts or am I talking to myself?
>
> Daniel
>
I read... but do I care, that's totally another question.
I did not go look at the code, but did you check that:
- it copy the reference count, really ?
- didn't it create the interior structure first, with the count set to 1
during the creation.
--
l'habillement, les chaussures que le maquillage et les accessoires.
Post a reply to this message
|
|