summaryrefslogtreecommitdiffstats
path: root/chrome
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 /chrome
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 'chrome')
-rw-r--r--chrome/browser/gtk/tab_contents_drag_source.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/gtk/tab_contents_drag_source.cc b/chrome/browser/gtk/tab_contents_drag_source.cc
index ffd914e..8bb4402 100644
--- a/chrome/browser/gtk/tab_contents_drag_source.cc
+++ b/chrome/browser/gtk/tab_contents_drag_source.cc
@@ -228,6 +228,7 @@ void TabContentsDragSource::OnDragDataGet(GtkWidget* sender,
// Convert from the file url to the file path.
GURL file_url(std::string(reinterpret_cast<char*>(file_url_value),
file_url_len));
+ g_free(file_url_value);
FilePath file_path;
if (net::FileURLToFilePath(file_url, &file_path)) {
// Open the file as a stream.