mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- if this buffer is freed, the pointer referring to it must also be deleted.
This commit is contained in:
parent
45117b2603
commit
ae78aeaacb
1 changed files with 1 additions and 0 deletions
|
@ -2057,6 +2057,7 @@ void FDynamicBuffer::SetData (const BYTE *data, int len)
|
|||
{
|
||||
m_Len = 0;
|
||||
M_Free(m_Data);
|
||||
m_Data = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue