changeset 185:ae212368a874 no-big-mmap

Typo fix in cleanup() I'm not sure why the tests didn't find this typo, but maybe the munmap() is being slightly permissive about not segfaulting horribly when given something it has already unmapped...
author mas01cr
date Fri, 16 Nov 2007 11:44:55 +0000
parents 1fb3d82aa590
children d5ae11d6cd2c
files audioDB.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/audioDB.cpp	Thu Nov 15 17:40:46 2007 +0000
+++ b/audioDB.cpp	Fri Nov 16 11:44:55 2007 +0000
@@ -118,7 +118,7 @@
   if(dataBuf)
     munmap(dataBuf, dataBufLength);
   if(timesTable)
-    munmap(dataBuf, timesTableLength);
+    munmap(timesTable, timesTableLength);
   if(l2normTable)
     munmap(l2normTable, l2normTableLength);