summaryrefslogtreecommitdiffstats
path: root/remoting
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-16 00:46:06 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-16 00:46:06 +0000
commit740c14554f0242fedf2034ff6a29bda8641f05e1 (patch)
treea96e0dcd892ef9e7917565fe364fa6b2a578d118 /remoting
parent6d4de8d186b8c63c03b2a3924ad24f3218067861 (diff)
downloadchromium_src-740c14554f0242fedf2034ff6a29bda8641f05e1.zip
chromium_src-740c14554f0242fedf2034ff6a29bda8641f05e1.tar.gz
chromium_src-740c14554f0242fedf2034ff6a29bda8641f05e1.tar.bz2
Destroy XServerPixelBuffer before closing X Display.
BUG=123497 Review URL: http://codereview.chromium.org/10096003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132368 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting')
-rw-r--r--remoting/host/capturer_linux.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/host/capturer_linux.cc b/remoting/host/capturer_linux.cc
index ec7dbf3..a4f9b18 100644
--- a/remoting/host/capturer_linux.cc
+++ b/remoting/host/capturer_linux.cc
@@ -426,6 +426,8 @@ void CapturerLinux::DeinitXlib() {
gc_ = NULL;
}
+ x_server_pixel_buffer_.Release();
+
if (display_) {
if (damage_handle_)
XDamageDestroy(display_, damage_handle_);