Re: [PATCH spice-gtk 1/2] display: fix palette regression

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

 



On Thu, Oct 03, 2013 at 01:53:55PM +0200, Marc-André Lureau wrote:
> palette_get() used to return a ref, and palette_release() used to
> release that ref.
> 
> Since ed877341, the palette is no longer refcount'ed, since its usage is
> exclusively local in common/canvas code.
> 
> palette_release() shouldn't remove the palette from the cache.

Doesn't this mean we will keep some palettes in the cache forever? If yes,
some guarantee that the memory used by these palettes is bounded?

Christophe

Attachment: pgppv0f8AwyBV.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]