summaryrefslogtreecommitdiffstats
path: root/ui/base/touch
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 07:41:36 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-05 07:41:36 +0000
commit41cc5e2513ca191dae63192949141c0831c5d285 (patch)
tree0149d1c406dc5c0c8ce828b6683ce63a47bc8688 /ui/base/touch
parentdbe49fd6f4b76daea8dd8ea8fbbbad782ac3cad1 (diff)
downloadchromium_src-41cc5e2513ca191dae63192949141c0831c5d285.zip
chromium_src-41cc5e2513ca191dae63192949141c0831c5d285.tar.gz
chromium_src-41cc5e2513ca191dae63192949141c0831c5d285.tar.bz2
Fix leaks in aura_unittests
Suppress leaks that are in X and header to fix. BUG=144990,146464,146465 Review URL: https://chromiumcodereview.appspot.com/10916095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/base/touch')
-rw-r--r--ui/base/touch/touch_factory.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/base/touch/touch_factory.cc b/ui/base/touch/touch_factory.cc
index 18cbe1d..70496e5 100644
--- a/ui/base/touch/touch_factory.cc
+++ b/ui/base/touch/touch_factory.cc
@@ -54,6 +54,7 @@ TouchFactory::TouchFactory()
nodata, 8, 8);
invisible_cursor_ = XCreatePixmapCursor(display, blank, blank,
&black, &black, 0, 0);
+ XFreePixmap(display, blank);
arrow_cursor_ = XCreateFontCursor(display, XC_arrow);
SetCursorVisible(false, false);