diff --git a/LEGO1/lego/legoomni/include/legopathstruct.h b/LEGO1/lego/legoomni/include/legopathstruct.h index 1884a81e..6ffdb20f 100644 --- a/LEGO1/lego/legoomni/include/legopathstruct.h +++ b/LEGO1/lego/legoomni/include/legopathstruct.h @@ -17,7 +17,7 @@ class LegoPathStructBase { virtual ~LegoPathStructBase() { if (m_name != NULL) { - delete m_name; + delete[] m_name; } }