summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/engine
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-27 20:14:05 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-27 20:14:05 +0000
commit7e4f2d7f61f677b9871052273ea9d9cc25032052 (patch)
tree9063a29e54d6b2309a5f0c86ca8f36151a3c7f15 /chrome/browser/sync/engine
parentd3a8548c05f84f9e0a30b45aebb1f589c556abac (diff)
downloadchromium_src-7e4f2d7f61f677b9871052273ea9d9cc25032052.zip
chromium_src-7e4f2d7f61f677b9871052273ea9d9cc25032052.tar.gz
chromium_src-7e4f2d7f61f677b9871052273ea9d9cc25032052.tar.bz2
Balance call to CommandLine::Init in syncapi with call to CommandLine::Terminate.
This should relieve the purify redness. TBR=nick TEST=ProfileSyncServiceTest, sync_unit_tests Review URL: http://codereview.chromium.org/243023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27344 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/engine')
-rw-r--r--chrome/browser/sync/engine/syncapi.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/sync/engine/syncapi.cc b/chrome/browser/sync/engine/syncapi.cc
index 3e414a2..eb54d93 100644
--- a/chrome/browser/sync/engine/syncapi.cc
+++ b/chrome/browser/sync/engine/syncapi.cc
@@ -1229,6 +1229,8 @@ void SyncManager::SyncInternal::Shutdown() {
LOG_IF(ERROR, WAIT_TIMEOUT == wait_result) << "Thread exit timeout expired";
CloseHandle(address_watch_params_.exit_flag);
#endif
+
+ CommandLine::Terminate();
}
// Listen to model changes, filter out ones initiated by the sync API, and