Merge branch 'master' of github.com:gunnarbeutner/strawberry

This commit is contained in:
Gunnar Beutner 2012-05-27 00:28:15 +02:00
commit 3fd4177ba0
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ void FIFO::ResizeBuffer(size_t newSize)
if (newBuffer == NULL) if (newBuffer == NULL)
throw bad_alloc(); throw bad_alloc();
m_Buffer = newBuffer;
m_AllocSize = newSize; m_AllocSize = newSize;
} }