summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 17:03:36 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 17:03:36 +0000
commite2a70f76250f3d46fd5b3f73c1bd56cfe622201e (patch)
tree07a0d641b14bf31c6752d9729c22c7196eecc9af /views
parentbe5c675aee63157fee45313c237b4ad043a68c2b (diff)
downloadchromium_src-e2a70f76250f3d46fd5b3f73c1bd56cfe622201e.zip
chromium_src-e2a70f76250f3d46fd5b3f73c1bd56cfe622201e.tar.gz
chromium_src-e2a70f76250f3d46fd5b3f73c1bd56cfe622201e.tar.bz2
Fixes a couple of leaks in use of gdk_get_property.
BUG=44945 TEST=none Review URL: http://codereview.chromium.org/2089024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48161 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/screen_gtk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/screen_gtk.cc b/views/screen_gtk.cc
index 93518b4..05076d7 100644
--- a/views/screen_gtk.cc
+++ b/views/screen_gtk.cc
@@ -37,6 +37,7 @@ gfx::Rect static GetPrimaryMonitorBounds() {
top_left_y = data[1];
width = data[2];
height = data[3];
+ g_free(raw_data);
} else {
// If there's no window manager, we can ask X for Monitor info directly.
XWindowAttributes attributes;