Mercurial > hg > audiodb
diff audioDB.cpp @ 311:cac5b3465318
Added sequencehop on Indexing to optionally reduce size of large indexes. Added cleanup() call on WS query exit to fix MMAP memory leak
author | mas01mc |
---|---|
date | Sat, 09 Aug 2008 15:04:16 +0000 |
parents | 896679d8cc39 |
children | 00cb98315f8c |
line wrap: on
line diff
--- a/audioDB.cpp Fri Aug 08 14:01:33 2008 +0000 +++ b/audioDB.cpp Sat Aug 09 15:04:16 2008 +0000 @@ -88,6 +88,7 @@ processArgs(argc, argv); assert(O2_ACTION(COM_QUERY)); query(dbName, inFile, adbQueryResponse); + cleanup(); } catch(char *err) { cleanup(); throw(err); @@ -101,6 +102,7 @@ processArgs(argc, argv); assert(O2_ACTION(COM_STATUS)); status(dbName, adbStatusResponse); + cleanup(); } catch(char *err) { cleanup(); throw(err);