diff options
author | Johannes Schickel | 2009-03-10 22:11:11 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-03-10 22:11:11 +0000 |
commit | b4ef8aba75262374a3446f5edbb75f17305e6d88 (patch) | |
tree | c0769d8983fc52c5506cac9e9f4531d97b608f74 | |
parent | 333d2c8e34e50d827c7e19dfa7e3efa9fd587c1e (diff) | |
download | scummvm-rg350-b4ef8aba75262374a3446f5edbb75f17305e6d88.tar.gz scummvm-rg350-b4ef8aba75262374a3446f5edbb75f17305e6d88.tar.bz2 scummvm-rg350-b4ef8aba75262374a3446f5edbb75f17305e6d88.zip |
Made Decompressor's destructor virtual. (fixes compilation and should fix possible leaks)
svn-id: r39318
-rw-r--r-- | engines/sci/scicore/decompressor.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/sci/scicore/decompressor.h b/engines/sci/scicore/decompressor.h index 3f8bd147c3..b2a6831a9b 100644 --- a/engines/sci/scicore/decompressor.h +++ b/engines/sci/scicore/decompressor.h @@ -47,7 +47,7 @@ enum ResourceCompression { class Decompressor { public: Decompressor(){} - ~Decompressor(){} + virtual ~Decompressor(){} //! get a number of bits from _src stream /** @param n - number of bits to get @@ -176,4 +176,5 @@ protected: } // End of namespace Sci -#endif // SCI_SCICORE_DECOMPRESSOR_H
\ No newline at end of file +#endif // SCI_SCICORE_DECOMPRESSOR_H + |