aboutsummaryrefslogtreecommitdiff
path: root/src/myriad.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-05-24 06:46:39 +0000
committerMike Buland <eichlan@xagasoft.com>2010-05-24 06:46:39 +0000
commit71191e311d949b1b7bdd74fc36a14306f492c181 (patch)
treea3a8515f71d17d9672863b5715ea6e3c5590b036 /src/myriad.cpp
parent8b5f78d058407cb874cbd4a2d917757dc959a482 (diff)
downloadlibbu++-71191e311d949b1b7bdd74fc36a14306f492c181.tar.gz
libbu++-71191e311d949b1b7bdd74fc36a14306f492c181.tar.bz2
libbu++-71191e311d949b1b7bdd74fc36a14306f492c181.tar.xz
libbu++-71191e311d949b1b7bdd74fc36a14306f492c181.zip
Myriad unit test. Seems like it's workin' well.
Diffstat (limited to 'src/myriad.cpp')
-rw-r--r--src/myriad.cpp2
1 files changed, 1 insertions, 1 deletions
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()
347 char *pBlock = new char[iBlockSize]; 347 char *pBlock = new char[iBlockSize];
348 memset( pBlock, 0, iBlockSize ); 348 memset( pBlock, 0, iBlockSize );
349 sStore.write( pBlock, iBlockSize ); 349 sStore.write( pBlock, iBlockSize );
350 delete pBlock; 350 delete[] pBlock;
351 351
352 return iBlocks++; 352 return iBlocks++;
353} 353}