diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-05-24 06:46:39 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-05-24 06:46:39 +0000 |
commit | 71191e311d949b1b7bdd74fc36a14306f492c181 (patch) | |
tree | a3a8515f71d17d9672863b5715ea6e3c5590b036 /src/myriad.cpp | |
parent | 8b5f78d058407cb874cbd4a2d917757dc959a482 (diff) | |
download | libbu++-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.cpp | 2 |
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 | } |