commit | 18a77077dede34273fcdf9b15f82cadf832e6dc6 | [log] [tgz] |
---|---|---|
author | Michal Srb <michalsrb@gmail.com> | Fri Sep 29 14:47:56 2017 +0200 |
committer | Pierre Ossman <ossman@cendio.se> | Wed Mar 07 15:28:47 2018 +0100 |
tree | a6ffa58c065d3a7f1184edd267b6913a2438710e | |
parent | 28d570dc910b7a6bbbd246db0ce3713bc2f4491c [diff] |
Unset pixel buffer when x0vncserver client disconnects. In XDesktop::start() we allocate pixel buffer and set it as the backend to the given VNCServer. In XDesktop::stop() we deallocate the buffer, so we must unset it from the VNCServer as well. Otherwise the VNCServer could try to access it and crash, for example in deferred update.