mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Fixed FIFO::ResizeBuffer
This commit is contained in:
parent
2ffaff19a8
commit
dbe59841d6
1 changed files with 2 additions and 0 deletions
|
|
@ -57,6 +57,8 @@ void FIFO::ResizeBuffer(size_t newSize)
|
|||
if (newBuffer == NULL)
|
||||
throw bad_alloc();
|
||||
|
||||
m_Buffer = newBuffer;
|
||||
|
||||
m_AllocSize = newSize;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue