[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:35:59 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=cd45eb0
The following commit has been merged in the master branch:
commit cd45eb0e5c3fafe49b66e49717ab962d4bc09b26
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Thu Feb 5 01:24:27 2004 +0000
Bugfixes: use the correct version of delete
---
src/exif.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/exif.cpp b/src/exif.cpp
index 5d73ffa..925a650 100644
--- a/src/exif.cpp
+++ b/src/exif.cpp
@@ -20,13 +20,13 @@
*/
/*
File: exif.cpp
- Version: $Name: $ $Revision: 1.14 $
+ Version: $Name: $ $Revision: 1.15 $
Author(s): Andreas Huggel (ahu) <ahuggel at gmx.net>
History: 26-Jan-04, ahu: created
*/
// *****************************************************************************
#include "rcsid.hpp"
-EXIV2_RCSID("@(#) $Name: $ $Revision: 1.14 $ $RCSfile: exif.cpp,v $")
+EXIV2_RCSID("@(#) $Name: $ $Revision: 1.15 $ $RCSfile: exif.cpp,v $")
// *****************************************************************************
// included header files
@@ -54,7 +54,7 @@ namespace Exif {
JpegImage::~JpegImage()
{
- delete exifData_;
+ delete[] exifData_;
}
const uint16 JpegImage::soi_ = 0xffd8;
@@ -437,7 +437,7 @@ namespace Exif {
memcpy(offsetData_, rhs.offsetData_, 4);
size_ = rhs.size_;
if (alloc_) {
- delete data_;
+ delete[] data_;
data_ = 0;
if (rhs.data_) {
data_ = new char[rhs.size()];
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list