mirror of
https://github.com/verilator/verilator.git
synced 2025-01-31 18:54:03 +00:00
Internals: Add missing [] to delete call in verilated_vcd_c.cpp, bug1309
This commit is contained in:
parent
fe917ba7f4
commit
02a22c12ea
@ -343,7 +343,7 @@ void VerilatedVcd::bufferResize(vluint64_t minsize) {
|
|||||||
memcpy(m_wrBufp, oldbufp, m_writep - oldbufp);
|
memcpy(m_wrBufp, oldbufp, m_writep - oldbufp);
|
||||||
m_writep = m_wrBufp + (m_writep - oldbufp);
|
m_writep = m_wrBufp + (m_writep - oldbufp);
|
||||||
m_wrFlushp = m_wrBufp + m_wrChunkSize * 6;
|
m_wrFlushp = m_wrBufp + m_wrChunkSize * 6;
|
||||||
delete oldbufp; oldbufp=NULL;
|
delete [] oldbufp; oldbufp=NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user