# HG changeset patch # User mas01cr # Date 1195213495 0 # Node ID ae212368a87471f172d477835c79e5edf9f11c9c # Parent 1fb3d82aa5901f97a6ef8e1c7735e810e1893971 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... diff -r 1fb3d82aa590 -r ae212368a874 audioDB.cpp --- 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);