Commit 9413e55b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Frame: fix buffer size allocation

parent 524b4ee6
......@@ -130,5 +130,5 @@ void Frame::resize(size_t size)
if ( size == m_size )
return ;
delete[] m_buffer;
m_buffer = new quint32[size];
m_buffer = new quint32[size / sizeof(quint32)];
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment