summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 21:44:05 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-20 21:44:05 +0000
commitbc7076729aacf96b53a25b58a4122b4f810b7802 (patch)
treed578530ffc66d3a1ef3aaa7c90f9979af51bbf1e
parent3e45ba94d8be022dd139b60772fe5025cfe542cf (diff)
downloadchromium_src-bc7076729aacf96b53a25b58a4122b4f810b7802.zip
chromium_src-bc7076729aacf96b53a25b58a4122b4f810b7802.tar.gz
chromium_src-bc7076729aacf96b53a25b58a4122b4f810b7802.tar.bz2
Purify fix
It appears that we were previously leaking HANDLEs but when this changed to objects, purify picked it up. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10127 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/renderer_host/render_widget_host_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_unittest.cc b/chrome/browser/renderer_host/render_widget_host_unittest.cc
index 8a31ec91..662c910a 100644
--- a/chrome/browser/renderer_host/render_widget_host_unittest.cc
+++ b/chrome/browser/renderer_host/render_widget_host_unittest.cc
@@ -31,6 +31,8 @@ class RenderWidgetHostProcess : public MockRenderProcessHost {
// We don't want to actually delete the channel, since it's not a real
// pointer.
channel_.release();
+ if (current_paint_buf_)
+ delete current_paint_buf_;
}
void set_paint_msg_should_reply(bool reply) {