mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-29 07:22:05 +00:00
Merge branch 'master' of https://github.com/rheit/zdoom
This commit is contained in:
commit
8ac34efc4e
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue