summaryrefslogtreecommitdiff
path: root/src/win95/animobs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/win95/animobs.cpp')
-rw-r--r--src/win95/animobs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win95/animobs.cpp b/src/win95/animobs.cpp
index 56539f5..f1c00ee 100644
--- a/src/win95/animobs.cpp
+++ b/src/win95/animobs.cpp
@@ -153,9 +153,9 @@ void Object_Animation_Sequence_Header_Chunk::fill_data_block (char *data_start)
Object_Animation_Sequence_Header_Chunk::~Object_Animation_Sequence_Header_Chunk()
{
if (sequence_name)
- delete sequence_name;
+ delete[] sequence_name;
if(extra_data)
- delete extra_data;
+ delete[] extra_data;
}
Object_Animation_Sequence_Header_Chunk::Object_Animation_Sequence_Header_Chunk (Chunk_With_Children * parent,const char * data_start, size_t)