diff options
author | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 18:18:35 +0000 |
---|---|---|
committer | nirnimesh@chromium.org <nirnimesh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 18:18:35 +0000 |
commit | 75285657b7c8c08383243184c21c340a986b9e21 (patch) | |
tree | ccf0c6b260d5203024727542b1677e87a29e33f0 /net | |
parent | ba138bcf2d8adfb9e67c2e493e60ea22baa83108 (diff) | |
download | chromium_src-75285657b7c8c08383243184c21c340a986b9e21.zip chromium_src-75285657b7c8c08383243184c21c340a986b9e21.tar.gz chromium_src-75285657b7c8c08383243184c21c340a986b9e21.tar.bz2 |
- Add support for platform specific suppression files for Valgrind
- Suppress setenv() leak, coz it's intentional
- Get rid of unncessary default parameter (".") with --suppressions
Review URL: http://codereview.chromium.org/57069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13170 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/ssl_test_util.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/base/ssl_test_util.cc b/net/base/ssl_test_util.cc index 04731b5e7..71edb6a 100644 --- a/net/base/ssl_test_util.cc +++ b/net/base/ssl_test_util.cc @@ -126,6 +126,7 @@ void AppendToPythonPath(FilePath dir) { #elif defined(OS_POSIX) const char kPythonPath[] = "PYTHONPATH"; const char* oldpath = getenv(kPythonPath); + // setenv() leaks memory intentionally on Mac if (!oldpath) { setenv(kPythonPath, dir.value().c_str(), 1); } else if (!strstr(oldpath, dir.value().c_str())) { |