diff --git a/src/d_net.cpp b/src/d_net.cpp index 73ad037ce..4483f3cf9 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -2053,11 +2053,9 @@ void FDynamicBuffer::SetData (const BYTE *data, int len) m_Len = len; memcpy (m_Data, data, len); } - else + else { m_Len = 0; - M_Free(m_Data); - m_Data = NULL; } }