---
milena/ChangeLog | 4 ++++
milena/mln/io/dicom/load.hh | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/milena/ChangeLog b/milena/ChangeLog
index 8b495e8..04bac84 100644
--- a/milena/ChangeLog
+++ b/milena/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-18 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ * mln/io/dicom/load.hh: Fix memory leak.
+
2011-10-14 Guillaume Lazzara <z(a)lrde.epita.fr>
Invert threshold function test.
diff --git a/milena/mln/io/dicom/load.hh b/milena/mln/io/dicom/load.hh
index fb6996b..7369c0f 100644
--- a/milena/mln/io/dicom/load.hh
+++ b/milena/mln/io/dicom/load.hh
@@ -182,7 +182,7 @@ namespace mln
ima(p) = v;
}
- delete(dataBuffer);
+ delete[] dataBuffer;
trace::exiting("mln::io::dicom::load");
}
--
1.7.2.5
Show replies by date