summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-05 10:15:12 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-05 10:15:12 +0200
commit168907fd0bcd90d8af55ee2fe484eb0d0c436dcf (patch)
treea99e90b4b342bfa3d8d1ea8e12b9b58e22d88b7a
parentd666dca6a434dbd81155296cf984f74940717da3 (diff)
downloadvdr-168907fd0bcd90d8af55ee2fe484eb0d0c436dcf.tar.gz
vdr-168907fd0bcd90d8af55ee2fe484eb0d0c436dcf.tar.bz2
Added missing '[]' to the delete operator in cMenuEditStrItem::~cMenuEditStrItem()
-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)