X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/664e13143ee51a6b1aa1c30d1401ac04b11bdcca..33f3e2b31ed781ba1446b49ec6d3e226c0a5c652:/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; } }