diff options
author | Paul Gilbert | 2011-07-03 17:14:47 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-03 17:14:47 +1000 |
commit | dff8bd5474905c924f4039ab079c20b3f145b364 (patch) | |
tree | 8566c9cb59831c3444cbfdf79a859d4ae0d8a579 /engines/cge/bitmap.cpp | |
parent | d53142d95e793861d2891f8a7d16ac11b9b94126 (diff) | |
download | scummvm-rg350-dff8bd5474905c924f4039ab079c20b3f145b364.tar.gz scummvm-rg350-dff8bd5474905c924f4039ab079c20b3f145b364.tar.bz2 scummvm-rg350-dff8bd5474905c924f4039ab079c20b3f145b364.zip |
CGE: Fix some memory leaks
Diffstat (limited to 'engines/cge/bitmap.cpp')
-rw-r--r-- | engines/cge/bitmap.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index 833d0f1f1b..d0c7ba6ab5 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -122,7 +122,6 @@ Bitmap::Bitmap(uint16 w, uint16 h, uint8 fill) for (HideDesc *hdP = b + 1; hdP < (b + _h); ++hdP) *hdP = *b; - memcpy(b + 1, b, (_h - 1) * sizeof(*b)); // tricky fill entire table b->skip = 0; // fix the first entry _v = v; _b = b; |