diff lshlib.cpp @ 482:bf54b8fa7d89 memory-leaks

plugged IndexName memory leak in lshlib.cpp
author mas01mc
date Sat, 10 Jan 2009 13:23:41 +0000
parents cead91ecf9a2
children 6439cfba2524
line wrap: on
line diff
--- a/lshlib.cpp	Sat Jan 10 13:23:01 2009 +0000
+++ b/lshlib.cpp	Sat Jan 10 13:23:41 2009 +0000
@@ -500,6 +500,7 @@
 
 G::~G(){
   delete lshHeader;
+  delete[] indexName;
 }
 
 // single point insertion; inserted values are hash value and pointID