X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/664e13143ee51a6b1aa1c30d1401ac04b11bdcca..1bcef6701be81d1f4473eb5a297bdf20fa292d98:/include/wx/scopedarray.h diff --git a/include/wx/scopedarray.h b/include/wx/scopedarray.h index 4175fcee62..d8bd2e7817 100644 --- a/include/wx/scopedarray.h +++ b/include/wx/scopedarray.h @@ -41,7 +41,7 @@ public: { if ( array != m_array ) { - delete m_array; + delete [] m_array; m_array = array; } }