[med-svn] [conquest-dicom-server] 14/14: Fix mismatched new/delete in buffer.cxx

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 3794624978cd30c8c6af5438d519963b946169f5
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Thu Mar 6 17:03:06 2014 -0300

    Fix mismatched new/delete in buffer.cxx
---
 ...19-Fix-mismatched-new-delete-in-buffer.cxx.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0019-Fix-mismatched-new-delete-in-buffer.cxx.patch b/debian/patches/0019-Fix-mismatched-new-delete-in-buffer.cxx.patch
new file mode 100644
index 0000000..3f7f32a
--- /dev/null
+++ b/debian/patches/0019-Fix-mismatched-new-delete-in-buffer.cxx.patch
@@ -0,0 +1,21 @@
+From: Pablo Lorenzzoni <spectra at debian.org>
+Date: Thu, 6 Mar 2014 17:02:42 -0300
+Subject: Fix mismatched new/delete in buffer.cxx
+
+---
+ buffer.cxx |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/buffer.cxx b/buffer.cxx
+index ce69aa2..ebbc454 100644
+--- a/buffer.cxx
++++ b/buffer.cxx
+@@ -101,7 +101,7 @@ BufferSpace	::	~BufferSpace()
+ 	{
+ 	if ( !isTemp )
+ 		if ( Data )
+-			delete Data;
++			delete [] Data;
+ 	}
+ 
+ Buffer	::	Buffer()
diff --git a/debian/patches/series b/debian/patches/series
index 83db0e1..da379f5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@
 0016-Fix-mismatched-new-delete-in-rtc.cxx.patch
 0017-Fix-mismatched-new-delete-in-farray.thh.patch
 0018-Fix-mismatched-new-delete-in-device.cpp.patch
+0019-Fix-mismatched-new-delete-in-buffer.cxx.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