From 71191e311d949b1b7bdd74fc36a14306f492c181 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 24 May 2010 06:46:39 +0000 Subject: Myriad unit test. Seems like it's workin' well. --- src/myriad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/myriad.cpp') diff --git a/src/myriad.cpp b/src/myriad.cpp index a95e885..4476d53 100644 --- a/src/myriad.cpp +++ b/src/myriad.cpp @@ -347,7 +347,7 @@ int Bu::Myriad::findEmptyBlock() char *pBlock = new char[iBlockSize]; memset( pBlock, 0, iBlockSize ); sStore.write( pBlock, iBlockSize ); - delete pBlock; + delete[] pBlock; return iBlocks++; } -- cgit v1.2.3