commit | 83755c173f4608764e3ee92428247d1c5e962e6a | [log] [tgz] |
---|---|---|
author | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | Mon Jan 11 17:30:50 2010 +0000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Tue Jan 12 13:24:52 2010 -0600 |
tree | 61c44752de9cb73c489d436e0aca7bafeb01b5f7 | |
parent | dbd483242c2e6dfaacb9fd3d20c333bbdad87243 [diff] |
vnc_refresh: return if vd->timer is NULL Hi all, calling vnc_update_client in vnc_refresh might have the unlikely side effect of setting vd->timer = NULL, if the last vnc client disconnected. In this case we have to return from vnc_refresh without updating the timer, otherwise we cause a segfault. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>