[med-svn] [conquest-dicom-server] 10/14: Fix mismatched new/delete in dbsql.cpp

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 6ce4e08ddaf362d5e78a00f448c1919752cec171
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Thu Mar 6 15:35:13 2014 -0300

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

diff --git a/debian/patches/0015-Fix-mismatched-new-delete-in-dbsql.cpp.patch b/debian/patches/0015-Fix-mismatched-new-delete-in-dbsql.cpp.patch
new file mode 100644
index 0000000..05c902f
--- /dev/null
+++ b/debian/patches/0015-Fix-mismatched-new-delete-in-dbsql.cpp.patch
@@ -0,0 +1,21 @@
+From: Pablo Lorenzzoni <spectra at debian.org>
+Date: Thu, 6 Mar 2014 15:34:35 -0300
+Subject: Fix mismatched new/delete in dbsql.cpp
+
+---
+ dbsql.cpp |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dbsql.cpp b/dbsql.cpp
+index e364c13..2001d44 100644
+--- a/dbsql.cpp
++++ b/dbsql.cpp
+@@ -2283,7 +2283,7 @@ MakeSafeStringValues (
+ 	(*sout) = '\'';++sout;
+ 	(*sout) = '\0';
+ 	
+-	delete s;
++	delete [] s;
+ 	return ( TRUE );
+ 	}
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 9ed51b3..73e067a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -12,3 +12,4 @@
 0012-Fix-cppcheck-bugs-8-and-9-Reviewed-by-Marcel.patch
 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

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