Another bug?
- From: Nat Friedman <nat helixcode com>
- To: Dietmar Maurer <dm vlsivie tuwien ac at>
- Cc: "gnome-components-list gnome org" <gnome-components-list gnome org>
- Subject: Another bug?
- Date: Fri, 26 Nov 1999 21:02:05 -0500 (EST)
Dietmar Maurer writes:
> is there something wrong with reference counting:
>
> gnome_container.c:
>
> gnome_container_remove() unrefs the client_site object, but
> gnome_container_add() does not add a reference.
The reference which is removed is the initial ref count which the
client site has when it is created. The GnomeContainer is considered
to "own" that reference, and so it has every right in removing it.
It's basically destroying the ClientSite in so doing.
Nat
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]