diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 01:32:43 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-07 01:32:43 +0000 |
commit | a682f8f6751d53c67629c5a9b1e66a31e8d21177 (patch) | |
tree | e38d69bc50ffdcdc9f7bb0af5b29be9e0ef1832e /webkit | |
parent | e4a41d8af760e10cd8d85ae877c9169f86ca6084 (diff) | |
download | chromium_src-a682f8f6751d53c67629c5a9b1e66a31e8d21177.zip chromium_src-a682f8f6751d53c67629c5a9b1e66a31e8d21177.tar.gz chromium_src-a682f8f6751d53c67629c5a9b1e66a31e8d21177.tar.bz2 |
Fix a selection clipboard leak.
BUG=9503
Review URL: http://codereview.chromium.org/62087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13219 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rwxr-xr-x | webkit/tools/test_shell/test_webview_delegate_gtk.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_webview_delegate_gtk.cc b/webkit/tools/test_shell/test_webview_delegate_gtk.cc index 230eba4..bce7619 100755 --- a/webkit/tools/test_shell/test_webview_delegate_gtk.cc +++ b/webkit/tools/test_shell/test_webview_delegate_gtk.cc @@ -258,6 +258,7 @@ void TestWebViewDelegate::UpdateSelectionClipboard(bool is_empty_selection) { gtk_clipboard_set_with_data(clipboard, targets, num_targets, SelectionClipboardGetContents, NULL, shell_->webView()); + gtk_target_list_unref(target_list); gtk_target_table_free(targets, num_targets); } |