[Spice-devel] leaking drawables

Gerd Hoffmann kraxel at redhat.com
Thu Sep 9 02:35:10 PDT 2010


   Hi,

> Eventually we reach the case where prod is 6 (and lets say cons is still
> 0). We put stuff in item 6, then SPICE_RING_PUSH increasing prod to 7,
> initialize item 7. No overwrite here. Then when prod is 7 we keep
> appending to the item 7 list, but never push it because prod - cons + 1
> = 7 - 0 + 1 = 8 == num_items.

Hmm, ok.  Code is correct then.  Stuff must get lost somewhere else ...

cheers,
   Gerd


More information about the Spice-devel mailing list