Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(507)

Issue 173516: Fix memory leak problem in PdfPsMetafile.... (Closed)

Created:
11 years, 4 months ago by myhuang
Modified:
9 years, 7 months ago
Reviewers:
tony, M-A Ruel
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix memory leak problem in PdfPsMetafile. The one committed in revision 24474 has a memory-leak problem. The cause is that we forgot to do CleanUpSurface(&page_surface_) near the end of PdfPsMetafile::FinishPage().

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -131 lines) Patch
M printing/pdf_ps_metafile_linux.h View 5 chunks +27 lines, -28 lines 0 comments Download
M printing/pdf_ps_metafile_linux.cc View 1 6 chunks +148 lines, -69 lines 1 comment Download
M printing/pdf_ps_metafile_linux_unittest.cc View 4 chunks +14 lines, -34 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
myhuang
http://codereview.chromium.org/173516/diff/1004/1007 File printing/pdf_ps_metafile_linux.cc (right): http://codereview.chromium.org/173516/diff/1004/1007#newcode284 Line 284: CleanUpSurface(&page_surface_); I forgot to do line#284 here in ...
11 years, 4 months ago (2009-08-26 20:50:36 UTC) #1
tony
LGTM, will land as soon as the tree opens.
11 years, 4 months ago (2009-08-26 21:08:37 UTC) #2
tony
11 years, 4 months ago (2009-08-26 21:26:58 UTC) #3
r24533

Powered by Google App Engine
This is Rietveld 408576698