summaryrefslogtreecommitdiffstats
path: root/python_modules/codegen.py
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-15 14:43:45 +0200
committerHans de Goede <hdegoede@redhat.com>2010-12-16 16:23:04 +0100
commit5cea3389541d12a7a99d3eb0c16093d154835401 (patch)
tree73d066f1bd5515db309f7ef10d95dad27c6cbe0b /python_modules/codegen.py
parent2b83fe700b3060601c524f92d9702be1938d9113 (diff)
downloadspice-5cea3389541d12a7a99d3eb0c16093d154835401.tar.gz
spice-5cea3389541d12a7a99d3eb0c16093d154835401.tar.xz
spice-5cea3389541d12a7a99d3eb0c16093d154835401.zip
server/red_worker: fix worker->drawable_count
drawable_count was becoming negative. It tracks the number of items in the worker->current_list ring. It was decremented correctly, but incremented only in several cases. The cases it wasn't incremented where: red_current_add_equal found an equivalent drawable by moving the increment to where the item is added to current_list, in __current_add_drawable, the accounting remains correct. This has no affect other then correct accounting, as drawable_count isn't used for anything.
Diffstat (limited to 'python_modules/codegen.py')
0 files changed, 0 insertions, 0 deletions