diff options
author | Nicola Mettifogo | 2009-03-23 20:42:53 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-03-23 20:42:53 +0000 |
commit | 52b1c9e32f687d2c090c7afc38ad933cedede295 (patch) | |
tree | dd95e935f119c16defdaaaf5010276d0b9ed85e9 /engines | |
parent | 2223627c7541651efd49f0718bbfe71a1625cee3 (diff) | |
download | scummvm-rg350-52b1c9e32f687d2c090c7afc38ad933cedede295.tar.gz scummvm-rg350-52b1c9e32f687d2c090c7afc38ad933cedede295.tar.bz2 scummvm-rg350-52b1c9e32f687d2c090c7afc38ad933cedede295.zip |
Oops.
svn-id: r39646
Diffstat (limited to 'engines')
-rw-r--r-- | engines/parallaction/objects.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h index b97c168327..628e4b8d9b 100644 --- a/engines/parallaction/objects.h +++ b/engines/parallaction/objects.h @@ -248,7 +248,9 @@ struct TypeData { } ~TypeData() { - _gfxobj->release(); + if (_gfxobj) { + _gfxobj->release(); + } delete _speakDialogue; } }; |