diff options
author | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-25 01:38:05 +0000 |
---|---|---|
committer | jar@google.com <jar@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-25 01:38:05 +0000 |
commit | b6a281b2ca7ceb70ee05238a15a9309975c6c2dd (patch) | |
tree | 5d095ddbbbae0e6cf4be5c6b944834bb051e709f /net | |
parent | d6c7938dcdc49d3477642af60ae23aa3cc2750be (diff) | |
download | chromium_src-b6a281b2ca7ceb70ee05238a15a9309975c6c2dd.zip chromium_src-b6a281b2ca7ceb70ee05238a15a9309975c6c2dd.tar.gz chromium_src-b6a281b2ca7ceb70ee05238a15a9309975c6c2dd.tar.bz2 |
Repair leak in unit test by properly ending use of gzip stream.
tbr=huanr
Review URL: http://codereview.chromium.org/4075
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2584 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/base/sdch_filter_unitest.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/sdch_filter_unitest.cc b/net/base/sdch_filter_unitest.cc index 7ba02fe..9891079 100644 --- a/net/base/sdch_filter_unitest.cc +++ b/net/base/sdch_filter_unitest.cc @@ -444,6 +444,8 @@ TEST_F(SdchFilterTest, FilterChaining) { filter.get(), &output); EXPECT_TRUE(status); EXPECT_TRUE(output == expanded_); + + MOZ_Z_deflateEnd(&zlib_stream); } }; // namespace anonymous |