Fix delete

This commit is contained in:
Christian Semmler 2024-05-11 12:40:57 -04:00
parent f5961a9f64
commit 0801382ff2

View File

@ -17,7 +17,7 @@ class LegoPathStructBase {
virtual ~LegoPathStructBase() virtual ~LegoPathStructBase()
{ {
if (m_name != NULL) { if (m_name != NULL) {
delete m_name; delete[] m_name;
} }
} }