diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-05 10:15:12 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2009-04-05 10:15:12 +0200 |
commit | 168907fd0bcd90d8af55ee2fe484eb0d0c436dcf (patch) | |
tree | a99e90b4b342bfa3d8d1ea8e12b9b58e22d88b7a | |
parent | d666dca6a434dbd81155296cf984f74940717da3 (diff) | |
download | vdr-168907fd0bcd90d8af55ee2fe484eb0d0c436dcf.tar.gz vdr-168907fd0bcd90d8af55ee2fe484eb0d0c436dcf.tar.bz2 |
Added missing '[]' to the delete operator in cMenuEditStrItem::~cMenuEditStrItem()
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | menuitems.c | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -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) |