1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added missing '[]' to the delete operator in cMenuEditStrItem::~cMenuEditStrItem()

This commit is contained in:
Klaus Schmidinger 2009-04-05 10:15:12 +02:00
parent d666dca6a4
commit 168907fd0b
2 changed files with 5 additions and 4 deletions

View File

@ -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().

View File

@ -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)