[med-svn] [conquest-dicom-server] 11/14: Fix mismatched new/delete in rtc.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 4a2ceabc091d97120f39803339ab89591de929a6
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Thu Mar 6 15:36:32 2014 -0300

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

diff --git a/debian/patches/0016-Fix-mismatched-new-delete-in-rtc.cxx.patch b/debian/patches/0016-Fix-mismatched-new-delete-in-rtc.cxx.patch
new file mode 100644
index 0000000..7b76664
--- /dev/null
+++ b/debian/patches/0016-Fix-mismatched-new-delete-in-rtc.cxx.patch
@@ -0,0 +1,21 @@
+From: Pablo Lorenzzoni <spectra at debian.org>
+Date: Thu, 6 Mar 2014 15:36:06 -0300
+Subject: Fix mismatched new/delete in rtc.cxx
+
+---
+ rtc.cxx |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/rtc.cxx b/rtc.cxx
+index 67de467..8853418 100644
+--- a/rtc.cxx
++++ b/rtc.cxx
+@@ -125,7 +125,7 @@ RTC	::	DetachRTC ()
+ 					TypeCodes->Get(Index).Group,
+ 					TypeCodes->Get(Index).Element,
+ 					TypeCodes->Get(Index).Description);fflush(stdout);*/
+-				delete TypeCodes->Get(Index).Description;
++				delete [] TypeCodes->Get(Index).Description;
+ 				}
+ 			++Index;
+ 			}
diff --git a/debian/patches/series b/debian/patches/series
index 73e067a..cfd7a53 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@
 0013-Fix-cppcheck-bug-3-Reviewed-by-Marcel.patch
 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

-- 
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