Another bug?




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]