aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.h
diff options
context:
space:
mode:
authorColin Snover2017-11-14 16:09:21 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commit384d68b679de37c906c8cac250fe2bb407c1ecb3 (patch)
tree7dd8fd2cc0cf1b12bbbed96731d1d05653376be5 /engines/fullpipe/gfx.h
parent7c66ffe5c89594f2d6f072b8e6b5c1f089395a11 (diff)
downloadscummvm-rg350-384d68b679de37c906c8cac250fe2bb407c1ecb3.tar.gz
scummvm-rg350-384d68b679de37c906c8cac250fe2bb407c1ecb3.tar.bz2
scummvm-rg350-384d68b679de37c906c8cac250fe2bb407c1ecb3.zip
FULLPIPE: Correctly fix Bitmap leaks
Diffstat (limited to 'engines/fullpipe/gfx.h')
-rw-r--r--engines/fullpipe/gfx.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/fullpipe/gfx.h b/engines/fullpipe/gfx.h
index a2f7230c6b..eb8d03fb90 100644
--- a/engines/fullpipe/gfx.h
+++ b/engines/fullpipe/gfx.h
@@ -81,8 +81,6 @@ private:
Bitmap operator=(const Bitmap &);
};
-typedef Common::SharedPtr<Bitmap> BitmapPtr;
-
class Picture : public MemoryObject {
public:
Picture();
@@ -122,7 +120,7 @@ protected:
int _field_44;
int _width;
int _height;
- BitmapPtr _bitmap;
+ Common::ScopedPtr<Bitmap> _bitmap;
int _field_54;
Common::ScopedPtr<MemoryObject2> _memoryObject2;
int _alpha;