summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-05-14 14:39:10 +0300
committerAlon Levy <alevy@redhat.com>2012-05-14 14:39:10 +0300
commit35dbf3ccc4b852f9dbb29eb8a53c94f26d2e3a6e (patch)
tree18bf66d87df96b51e8b5a280b9235ac635f4bde4 /client
parentbab771c10dfa1cc5751f4fd33548b997f7200dbd (diff)
server/red_worker: fix possible leak of self_bitmap
After the previous patch moving self_bitmap freeing inside red_drawable ref count, we have a possible self_bitmap leak: red_process_commands red_get_drawable | red_drawable #1, red_drawable->self_bitmap == 1 red_process_drawable | rd #2, d #1, d->self_bitmap != NULL release_drawable | rd #1, d# = 0, try to release self_bitmap, but blocked by rd #1 put_red_drawable | rd #0 This patch moves the call to release_drawable after the call to put_red_drawable, thereby fixing the above situation.
Diffstat (limited to 'client')
0 files changed, 0 insertions, 0 deletions