From ed257a000d191f3f4008241ec7aa53ee53240075 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Fri, 16 Apr 2010 09:54:30 +0200 Subject: Use the proper delete[] operator to deallocate the memory block pointed by _data. --- src/exiv2wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/exiv2wrapper.cpp') 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; } } -- cgit