summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--menuitems.c8
2 files changed, 5 insertions, 4 deletions
diff --git a/HISTORY b/HISTORY
index e5c60680..c2d7e788 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6013,3 +6013,4 @@ Video Disk Recorder Revision History
frame is now sent to the output device repeatedly until GetSTC() reports that it
has been played. cDvbPlayer::Action() no longer calls DeviceFlush() (thanks to
Reinhard Nissl for making sure vdr-xine no longer needs this).
+- Added missing '[]' to the delete operator in cMenuEditStrItem::~cMenuEditStrItem().
diff --git a/menuitems.c b/menuitems.c
index 82d50821..6702384c 100644
--- a/menuitems.c
+++ b/menuitems.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menuitems.c 2.2 2008/12/13 11:35:31 kls Exp $
+ * $Id: menuitems.c 2.3 2009/04/05 10:15:12 kls Exp $
*/
#include "menuitems.h"
@@ -271,9 +271,9 @@ cMenuEditStrItem::cMenuEditStrItem(const char *Name, char *Value, int Length, co
cMenuEditStrItem::~cMenuEditStrItem()
{
- delete valueUtf8;
- delete allowedUtf8;
- delete charMapUtf8;
+ delete[] valueUtf8;
+ delete[] allowedUtf8;
+ delete[] charMapUtf8;
}
void cMenuEditStrItem::EnterEditMode(void)