diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-04-16 09:54:30 +0200 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-04-16 09:54:30 +0200 |
commit | ed257a000d191f3f4008241ec7aa53ee53240075 (patch) | |
tree | 35d28714c5eadf2a121e43ad4270e594f7af0c89 /src/exiv2wrapper.cpp | |
parent | 71e835c26bd2136b9346fb4c07ea567a2b0fc1a5 (diff) | |
download | pyexiv2-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.cpp | 2 |
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; } } |