Re: [evolution-patches] Leak fix in EBookListener
- From: Alessandro Decina <alessandro nnva org>
- To: evolution-patches <evolution-patches lists ximian com>
- Subject: Re: [evolution-patches] Leak fix in EBookListener
- Date: Mon, 16 May 2005 20:56:03 +0200
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]