Internals: Add missing [] to delete call in verilated_vcd_c.cpp, bug1309

This commit is contained in:
Wilson Snyder 2018-05-17 07:08:11 -04:00
parent fe917ba7f4
commit 02a22c12ea

View File

@ -343,7 +343,7 @@ void VerilatedVcd::bufferResize(vluint64_t minsize) {
memcpy(m_wrBufp, oldbufp, m_writep - oldbufp);
m_writep = m_wrBufp + (m_writep - oldbufp);
m_wrFlushp = m_wrBufp + m_wrChunkSize * 6;
delete oldbufp; oldbufp=NULL;
delete [] oldbufp; oldbufp=NULL;
}
}