X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/664e13143ee51a6b1aa1c30d1401ac04b11bdcca..35d6156ba4efddad24c032dce4f84ed383a9ce5c:/include/wx/scopedarray.h diff --git a/include/wx/scopedarray.h b/include/wx/scopedarray.h index 4175fcee62..e6246a235e 100644 --- a/include/wx/scopedarray.h +++ b/include/wx/scopedarray.h @@ -3,7 +3,6 @@ // Purpose: scoped smart pointer class // Author: Vadim Zeitlin // Created: 2009-02-03 -// RCS-ID: $Id$ // Copyright: (c) Jesse Lovelace and original Boost authors (see below) // (c) 2009 Vadim Zeitlin // Licence: wxWindows licence @@ -41,7 +40,7 @@ public: { if ( array != m_array ) { - delete m_array; + delete [] m_array; m_array = array; } }