[med-svn] [conquest-dicom-server] 12/14: Fix mismatched new/delete in farray.thh

Pablo Lorenzzoni spectra at moszumanska.debian.org
Tue Mar 11 17:55:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

spectra pushed a commit to branch master
in repository conquest-dicom-server.

commit 90f48acd1a1a294c46b820966db1f0a8f8ed4358
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Thu Mar 6 15:37:49 2014 -0300

    Fix mismatched new/delete in farray.thh
---
 ...7-Fix-mismatched-new-delete-in-farray.thh.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 25 insertions(+)

diff --git a/debian/patches/0017-Fix-mismatched-new-delete-in-farray.thh.patch b/debian/patches/0017-Fix-mismatched-new-delete-in-farray.thh.patch
new file mode 100644
index 0000000..8a3a164
--- /dev/null
+++ b/debian/patches/0017-Fix-mismatched-new-delete-in-farray.thh.patch
@@ -0,0 +1,24 @@
+From: Pablo Lorenzzoni <spectra at debian.org>
+Date: Thu, 6 Mar 2014 15:37:26 -0300
+Subject: Fix mismatched new/delete in farray.thh
+
+---
+ farray.thh |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/farray.thh b/farray.thh
+index 1a5f45a..85cd537 100644
+--- a/farray.thh
++++ b/farray.thh
+@@ -109,9 +109,9 @@ template	<class	KEYTYPE, class	DATATYPE>
+ 	FixedArray<KEYTYPE, DATATYPE>	::	~FixedArray ()
+ 	{
+ 	if ( KeyTable )
+-		delete KeyTable;
++		delete [] KeyTable;
+ 	if ( DataTable )
+-		delete DataTable;
++		delete [] DataTable;
+ 	}
+ 
+ template	<class	KEYTYPE, class	DATATYPE>
diff --git a/debian/patches/series b/debian/patches/series
index cfd7a53..210557d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@
 0014-Fix-cppcheck-bug-6-Reviewed-by-Marcel.patch
 0015-Fix-mismatched-new-delete-in-dbsql.cpp.patch
 0016-Fix-mismatched-new-delete-in-rtc.cxx.patch
+0017-Fix-mismatched-new-delete-in-farray.thh.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/conquest-dicom-server.git



More information about the debian-med-commit mailing list