#6037 Unitialized member in Chunk

This commit is contained in:
Andrew Nelless 2017-05-18 01:10:58 +01:00
parent 857482ced7
commit b87dba52ba

View File

@ -18,7 +18,7 @@
#include "synergy/Chunk.h"
#include "base/String.h"
Chunk::Chunk(size_t size)
Chunk::Chunk(size_t size): m_dataSize(0)
{
m_chunk = new char[size];
memset(m_chunk, 0, size);