changeset 479:0af0c31dfa14 memory-leaks

added free() call for data_buffer at end of query_loop_points()
author mas01mc
date Sat, 10 Jan 2009 13:14:05 +0000
parents 3171089ecfd7
children d7c23fcc8e2a
files query.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/query.cpp	Sat Jan 10 13:12:52 2009 +0000
+++ b/query.cpp	Sat Jan 10 13:14:05 2009 +0000
@@ -595,6 +595,7 @@
     exact_evaluation_queue->pop();
   }
   // Cleanup
+  free(data_buffer);
   SAFE_DELETE_ARRAY(sNorm);
   SAFE_DELETE_ARRAY(sPower);
   SAFE_DELETE_ARRAY(meanDBdur);