X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/664e13143ee51a6b1aa1c30d1401ac04b11bdcca..a6b40a9aa23c66aee8b9bada956d15fb3c81299c:/include/wx/scopedarray.h?ds=sidebyside 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; } }