[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:36:21 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=1566a43
The following commit has been merged in the master branch:
commit 1566a43a551a470b4836f37e19ff57adca7e6946
Author: Andreas Huggel <ahuggel at gmx.net>
Date: Mon May 17 07:36:06 2004 +0000
Bugfix: Used delete[] in DataBuf::alloc()
---
src/types.hpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/types.hpp b/src/types.hpp
index d46ee3a..669ece1 100644
--- a/src/types.hpp
+++ b/src/types.hpp
@@ -21,7 +21,7 @@
/*!
@file types.hpp
@brief Type definitions for %Exiv2 and related functionality
- @version $Name: $ $Revision: 1.11 $
+ @version $Name: $ $Revision: 1.12 $
@author Andreas Huggel (ahu)
<a href="mailto:ahuggel at gmx.net">ahuggel at gmx.net</a>
@date 09-Jan-04, ahu: created
@@ -126,7 +126,7 @@ namespace Exiv2 {
~DataBuf() { delete[] pData_; }
//! Allocate a data buffer of the given size
void alloc(long size)
- { delete pData_; size_ = size; pData_ = new char[size]; }
+ { delete[] pData_; size_ = size; pData_ = new char[size]; }
//! The current size of the buffer
long size_;
//! Pointer to the buffer, 0 if none has been allocated
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list