Re: [evolution-patches] Leak fix in EBookListener



On lun, 2005-05-16 at 14:44 +0100, Ross Burton wrote:
> Hi,
Hi

> The ->priv data was never freed when an EBookListener was destroyed, the
> attached patch adds a dispose function to free it.
why not use finalize? After dispose the instance should be still intact.

And as a more general question: why in evo g_type_class_add_private is
rarely used for the pimpl? It would automatize it.

-- 
Alessandro Decina <alessandro nnva org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]