diff options
author | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-05 18:18:41 +0000 |
---|---|---|
committer | dmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-05 18:18:41 +0000 |
commit | 7ffdf6ebd685eee46e65dbdc03862b79fa0522f5 (patch) | |
tree | d61e91967d91a68a11684e5d173f3dbbfe98f486 /content/common/file_path_watcher/file_path_watcher_mac.cc | |
parent | cc708db7e74a3723389a55efd2de85c2930b8f73 (diff) | |
download | chromium_src-7ffdf6ebd685eee46e65dbdc03862b79fa0522f5.zip chromium_src-7ffdf6ebd685eee46e65dbdc03862b79fa0522f5.tar.gz chromium_src-7ffdf6ebd685eee46e65dbdc03862b79fa0522f5.tar.bz2 |
Fix up leak in FilePathWatcherTest and UserStyleSheetTest
BUG=76644, 77042
TEST=Build under valgrind.
Review URL: http://codereview.chromium.org/6693075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/file_path_watcher/file_path_watcher_mac.cc')
-rw-r--r-- | content/common/file_path_watcher/file_path_watcher_mac.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/common/file_path_watcher/file_path_watcher_mac.cc b/content/common/file_path_watcher/file_path_watcher_mac.cc index 04531a0..eb72b94 100644 --- a/content/common/file_path_watcher/file_path_watcher_mac.cc +++ b/content/common/file_path_watcher/file_path_watcher_mac.cc @@ -474,7 +474,7 @@ void FilePathWatcherImpl::CancelOnMessageLoopThread() { CloseFileDescriptor(&kqueue_); std::for_each(events_.begin(), events_.end(), ReleaseEvent); events_.clear(); - io_message_loop_.release(); + io_message_loop_ = NULL; MessageLoop::current()->RemoveDestructionObserver(this); delegate_ = NULL; } |