diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 17:03:36 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-25 17:03:36 +0000 |
commit | e2a70f76250f3d46fd5b3f73c1bd56cfe622201e (patch) | |
tree | 07a0d641b14bf31c6752d9729c22c7196eecc9af /views | |
parent | be5c675aee63157fee45313c237b4ad043a68c2b (diff) | |
download | chromium_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.cc | 1 |
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; |