summaryrefslogtreecommitdiffstats
path: root/chrome/browser/greasemonkey_master.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-29 20:32:31 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-29 20:32:31 +0000
commitfcbaeacfce08303236709e2603e64fc40bdba435 (patch)
tree115a3402a9e71344d4e68e47705c2c09e1520f08 /chrome/browser/greasemonkey_master.cc
parent250c6a4df01732194e05559918174bcf5fb05f42 (diff)
downloadchromium_src-fcbaeacfce08303236709e2603e64fc40bdba435.zip
chromium_src-fcbaeacfce08303236709e2603e64fc40bdba435.tar.gz
chromium_src-fcbaeacfce08303236709e2603e64fc40bdba435.tar.bz2
Free memory in unit test, so purify doesn't complain.
Review URL: http://codereview.chromium.org/8405 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4163 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/greasemonkey_master.cc')
-rw-r--r--chrome/browser/greasemonkey_master.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/greasemonkey_master.cc b/chrome/browser/greasemonkey_master.cc
index 2648fa0..288b379 100644
--- a/chrome/browser/greasemonkey_master.cc
+++ b/chrome/browser/greasemonkey_master.cc
@@ -164,7 +164,8 @@ GreasemonkeyMaster::GreasemonkeyMaster(MessageLoop* worker_loop,
const FilePath& script_dir)
: user_script_dir_(new FilePath(script_dir)),
dir_watcher_(new DirectoryWatcher),
- worker_loop_(worker_loop) {
+ worker_loop_(worker_loop),
+ pending_scan_(false) {
// Watch our scripts directory for modifications.
bool ok = dir_watcher_->Watch(script_dir, this);
DCHECK(ok);