diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 22:07:27 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 22:07:27 +0000 |
commit | c7aff9a658728effaceb6d88764003f7c2c95cdf (patch) | |
tree | 192775187f3baf02c790ba99ee2dfb205366a031 /app | |
parent | 0b7619baadf4324f6685a136433ac2aa2f34c8bd (diff) | |
download | chromium_src-c7aff9a658728effaceb6d88764003f7c2c95cdf.zip chromium_src-c7aff9a658728effaceb6d88764003f7c2c95cdf.tar.gz chromium_src-c7aff9a658728effaceb6d88764003f7c2c95cdf.tar.bz2 |
Coverity: Fix leaking TransportDIB in GpuBackingStore{GLX,Win}::OnPaintToBackingStore
CID=8190,9146
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/2997002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52410 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app')
-rw-r--r-- | app/surface/transport_dib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/surface/transport_dib.h b/app/surface/transport_dib.h index ffa10e4..c392c5f 100644 --- a/app/surface/transport_dib.h +++ b/app/surface/transport_dib.h @@ -122,7 +122,8 @@ class TransportDIB { // renderer. static TransportDIB* Create(size_t size, uint32 sequence_num); - // Map the referenced transport DIB. Returns NULL on failure. + // Map the referenced transport DIB. The caller owns the returned object. + // Returns NULL on failure. static TransportDIB* Map(Handle transport_dib); // Returns true if the handle is valid. |