mirror of https://github.com/Icinga/icinga2.git
Fixed FIFO::ResizeBuffer
This commit is contained in:
parent
2ffaff19a8
commit
dbe59841d6
|
@ -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 New Issue