mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
STARK: Add destructor to UnimplementedBiffObject
This commit is contained in:
parent
4b4a285b17
commit
c561731de0
@ -30,10 +30,16 @@ namespace Formats {
|
||||
class UnimplementedBiffObject : public BiffObject {
|
||||
public:
|
||||
UnimplementedBiffObject(uint32 type) :
|
||||
BiffObject() {
|
||||
BiffObject(),
|
||||
_data(nullptr),
|
||||
_dataLength(0) {
|
||||
_type = type;
|
||||
}
|
||||
|
||||
virtual ~UnimplementedBiffObject() {
|
||||
delete[] _data;
|
||||
}
|
||||
|
||||
// BiffObject API
|
||||
void readData(ArchiveReadStream *stream, uint32 dataLength) override {
|
||||
_dataLength = dataLength;
|
||||
|
Loading…
x
Reference in New Issue
Block a user