aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.cpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-04-16 09:54:30 +0200
committerOlivier Tilloy <olivier@tilloy.net>2010-04-16 09:54:30 +0200
commited257a000d191f3f4008241ec7aa53ee53240075 (patch)
tree35d28714c5eadf2a121e43ad4270e594f7af0c89 /src/exiv2wrapper.cpp
parent71e835c26bd2136b9346fb4c07ea567a2b0fc1a5 (diff)
downloadpyexiv2-ed257a000d191f3f4008241ec7aa53ee53240075.tar.gz
Use the proper delete[] operator to deallocate the memory block pointed by _data.
Diffstat (limited to 'src/exiv2wrapper.cpp')
-rw-r--r--src/exiv2wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exiv2wrapper.cpp b/src/exiv2wrapper.cpp
index ac2c46b..4412966 100644
--- a/src/exiv2wrapper.cpp
+++ b/src/exiv2wrapper.cpp
@@ -114,7 +114,7 @@ Image::~Image()
{
if (_data != 0)
{
- delete _data;
+ delete[] _data;
}
}