diff options
Diffstat (limited to '')
-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 | } |