diff options
author | Paul Gilbert | 2011-08-06 16:55:39 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-08-06 16:55:39 +1000 |
commit | 9f8eb5a74086881f2818256b01fb6fb946c6420a (patch) | |
tree | a3dcfd6108eb5e5709f51bd678edb61181ca803f /test/common | |
parent | fc05b8cf1b489933d28e35d949f2de62cc0d8c6a (diff) | |
download | scummvm-rg350-9f8eb5a74086881f2818256b01fb6fb946c6420a.tar.gz scummvm-rg350-9f8eb5a74086881f2818256b01fb6fb946c6420a.tar.bz2 scummvm-rg350-9f8eb5a74086881f2818256b01fb6fb946c6420a.zip |
CGE: Re-added an explicit check in Sprite destructor against _sprite variable
The trouble is that the _sprite variable can currently be pointing to any registered sprite, and should only be freed in the destructor if it hasn't already been freed. Currently, this is best done by keeping track of whether the pointed to sprite has been already freed or not.
Diffstat (limited to 'test/common')
0 files changed, 0 insertions, 0 deletions